Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. What is java -g used for?
  2. An individual array element that is passed to a method and modified in that method will contain the…
  3. It is perfectly legal to assign a subclass object to a supper class reference.
  4. The programmer must explicitly create the system .in and system .out objects.
  5. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  6. A Java monitor must either extend thread class or implement Runnable interface.
  7. Which of the following methods can be used to draw the outline of a square?
  8. The break statement is required in the default case of a switch selection structure.
  9. A static class method can be invoked by simply using the name of the method alone.
  10. The check box group class is a subclass of the component class.
  11. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  12. Connection, Statement are interfaces and ResultSet is a class.
  13. Which of the following command lines options generates documentation for all classes and methods?
  14. Two methods cannot have the same name in Java.
  15. In RMI before running the client program we must start RMI Registry.
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. Members of a class specified as private are accessible only to the methods of the class.
  18. Throwing an exception always causes program termination.
  19. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  20. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  21. Which of the following control expressions are valid for an if statement?
  22. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  23. A catch can have comma-separated multiple arguments.
  24. JSP files creates ________________
  25. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  26. Which of the following will produce a value of 22 if x=22.9:
  27. Any method in a supper class can be over ridden in its subclass.
  28. With javadoc, which of the following denotes a javadoc comment?
  29. It is an error to have a method with the same signature in both the super class and its subclass.
  30. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.