Home

Every method of a final in class is implicitly final.

A. True

B. False

You can do it
  1. Submit button always fires doPost(...)
  2. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  3. Which of the following statements are true?
  4. Which javadoc tag is used to denote a comment for methods parameters?
  5. forName() is a static factory method
  6. Given the codeString s = new String("abc");Which of the following calls are valid?
  7. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  8. In order to connect to a database through java program we must create _______-
  9. Which of the following are keywords?
  10. DataInput is
  11. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  12. Which of the following keywords are used to control access to a class member?
  13. A catch can have comma-separated multiple arguments.
  14. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  15. What is java -g used for?
  16. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  17. Which of the following methods can be used to remove a component from the display?
  18. When we implement the Runnable interface, we must define the method
  19. A panel can not be added to another panel.
  20. Java is fully object oriented programme.
  21. To delete a file, we can use an instance of class file.
  22. The break statement is required in the default case of a switch selection structure.
  23. All methods in an abstract class must be declared abstract.
  24. Which of the following will produce a value of 10 if x = 9.7?
  25. When the string objects are compared with ==, the result is true If the strings contain the same values.
  26. Which of the following will produce a value of 22 if x=22.9:
  27. executeUpdate automatically updates data because___________
  28. The programmer must explicitly create the system .in and system .out objects.
  29. The keywords reserved but not used in the initial version of Java re:
  30. The use of protected keyword to a member in a class will restrict its visibility as follows: