Which of the following keywords are used to control access to a class member?

A. default

B. protected

C. interface

D. None of the above

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. Servlet has ___________
  3. In RMI before running the client program we must start RMI Registry.
  4. The break statement is required in the default case of a switch selection structure.
  5. Connection, Statement are interfaces and ResultSet is a class.
  6. DataInput is
  7. With javadoc, which of the following denotes a javadoc comment?
  8. In order to connect to a database through java program we must create _______-
  9. Which exception is thrown by the read() method of InputStream class?
  10. The methods wait() and noify() are defined in
  11. All the bitwise operators have the same level of precedence in Java.
  12. Which of the following will produce a value of 10 if x = 9.7?
  13. When the string objects are compared with ==, the result is true If the strings contain the same values.
  14. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  15. When we implement an interface method, it should be declared as public.
  16. A Java monitor must either extend thread class or implement Runnable interface.
  17. It is perfectly legal to assign a subclass object to a supper class reference.
  18. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  19. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  20. A method declared as static can not access non-static class members.
  21. Which of the following command lines options generates documentation for all classes and methods?
  22. When we implement the Runnable interface, we must define the method
  23. A class may be both abstract and final.
  24. Which of the following statements are true?
  25. forName() is a static factory method
  26. In a single Servlet class we can use____________
  27. A string object can not be modified after it is created.
  28. The check box group class is a subclass of the component class.
  29. A static class method can be invoked by simply using the name of the method alone.
  30. Which of the following represent legal flow control statements?