Home

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. Frames and applets cannot be used together in the same program.
  2. Which of the following control expressions are valid for an if statement?
  3. What is java -g used for?
  4. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  5. Which javadoc tag is used to denote a comment for methods parameters?
  6. A panel can not be added to another panel.
  7. All methods in an abstract class must be declared abstract.
  8. The name of the RMI compiler is ___________
  9. A string object can not be modified after it is created.
  10. Which of the following statements are true?
  11. The use of protected keyword to a member in a class will restrict its visibility as follows:
  12. JdbcOdbcDriver is an object of Object class
  13. When we invoke repaint () for a Component, the AWT invokes the method:
  14. With javadoc, which of the following denotes a javadoc comment?
  15. Which of the following statements are valid array declarations?
  16. Which of the following are not keywords?
  17. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  18. Any method in a supper class can be over ridden in its subclass.
  19. All the bitwise operators have the same level of precedence in Java.
  20. Declarations can appear anywhere in the body of a Java method.
  21. Which of the following methods can be used to draw the outline of a square?
  22. Session bean
  23. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  24. The modulus operator (%) can be used only with Integer operands.
  25. A package is a collection of
  26. The check box group class is a subclass of the component class.
  27. A constructor must always invoke its supper class constructor in its first statement.
  28. Submit button always fires doPost(...)
  29. Two methods cannot have the same name in Java.
  30. In order to connect to a database through java program we must create _______-