Home

A final class may not have any abstract method.

A. True

B. False

You can do it
  1. Every method of a final in class is implicitly final.
  2. It is perfectly legal to refer to any instance variable inside of a static method.
  3. Which of the following methods belong to the String class?
  4. A Java monitor must either extend thread class or implement Runnable interface.
  5. In order to connect to a database through java program we must create _______-
  6. A catch can have comma-separated multiple arguments.
  7. Objects are passed to a method by use of call-by-reference.
  8. Which of the following control expressions are valid for an if statement?
  9. Which key word can protect a class in package from accessibility by the classes outside the package?
  10. executeUpdate automatically updates data because___________
  11. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  12. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  13. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  14. A class may be both abstract and final.
  15. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  16. Frames and applets cannot be used together in the same program.
  17. All the bitwise operators have the same level of precedence in Java.
  18. Which of the following will produce a value of 10 if x = 9.7?
  19. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  20. An individual array element that is passed to a method and modified in that method will contain the…
  21. It is perfectly legal to assign a subclass object to a supper class reference.
  22. Which of the following represent legal flow control statements?
  23. Declaring a method synchronized guarantees that the deadlock cannot occur.
  24. The length of a string object 's1' can be obtained using the expression s1.length.
  25. JSP files creates ________________
  26. Which of the following statements are valid array declarations?
  27. putValue(...) method takes _____________________-
  28. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  29. Which of the following are not keywords?
  30. We can over load methods with differences only in their return type.