Home

When we implement the Runnable interface, we must define the method

A. start()

B. init()

C. runnable()

D. run()

You can do it
  1. In the code below, what data types the variable x can have?
  2. EJBs can be of the following type(s)None of the above
  3. Which javadoc tag is used to denote a comment for methods parameters?
  4. Submit button always fires doPost(...)
  5. All the bitwise operators have the same level of precedence in Java.
  6. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  7. A method declared as static can not access non-static class members.
  8. The setBackground() method is part of the class
  9. Servlet has ___________
  10. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  11. Which of the following keywords are used to control access to a class member?
  12. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  13. The import statement is always the first no comment statement in a Java program files.
  14. A final class may not have any abstract method.
  15. It is perfectly legal to refer to any instance variable inside of a static method.
  16. JdbcOdbcDriver is an object of Object class
  17. A class may be both abstract and final.
  18. The concept of multiple inheritance is implemented in Java by
  19. An EJB is a server-side component that encapsulates the business logic of an application
  20. Members of a class specified as private are accessible only to the methods of the class.
  21. Session bean
  22. Frames and applets cannot be used together in the same program.
  23. When we implement the Runnable interface, we must define the method
  24. What is java -g used for?
  25. Which of the following are not keywords?
  26. The check box group class is a subclass of the component class.
  27. Every method of a final in class is implicitly final.
  28. It is perfectly legal to assign a subclass object to a supper class reference.
  29. When we implement an interface method, it should be declared as public.
  30. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.