Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

You can do it
  1. EJBs can be of the following type(s)None of the above
  2. JdbcOdbcDriver is an object of Object class
  3. Which of the following methods can be used to draw the outline of a square?
  4. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  5. The methods wait() and noify() are defined in
  6. executeUpdate(------------) returns ___________
  7. The keywords reserved but not used in the initial version of Java re:
  8. When we implement an interface method, it should be declared as public.
  9. A constructor must always invoke its supper class constructor in its first statement.
  10. With javadoc, which of the following denotes a javadoc comment?
  11. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  12. Which of the following are not keywords?
  13. In RMI before running the client program we must start RMI Registry.
  14. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  15. Which of the following represent legal flow control statements?
  16. The concept of multiple inheritance is implemented in Java by
  17. Objects are passed to a method by use of call-by-reference.
  18. Servlet can have ___________
  19. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  20. The check box group class is a subclass of the component class.
  21. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  22. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  23. The setBackground() method is part of the class
  24. When we invoke repaint () for a Component, the AWT invokes the method:
  25. The name of the RMI compiler is ___________
  26. Declaring a method synchronized guarantees that the deadlock cannot occur.
  27. Which of the following will produce a value of 10 if x = 9.7?
  28. Any method in a supper class can be over ridden in its subclass.
  29. Which of the following control expressions are valid for an if statement?
  30. The programmer must explicitly create the system .in and system .out objects.