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. The methods wait() and noify() are defined in
  2. DataInput is
  3. A JSP file can be stored_________________
  4. Which of the following will produce a value of 10 if x = 9.7?
  5. We can over load methods with differences only in their return type.
  6. putValue(...) method takes _____________________-
  7. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  8. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  9. Objects are passed to a method by use of call-by-reference.
  10. The check box group class is a subclass of the component class.
  11. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  12. When the string objects are compared with ==, the result is true If the strings contain the same values.
  13. A catch can have comma-separated multiple arguments.
  14. Any method in a supper class can be over ridden in its subclass.
  15. What is java -g used for?
  16. Which of the following will produce a value of 22 if x=22.9:
  17. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  18. When we invoke repaint () for a Component, the AWT invokes the method:
  19. Consider the following class definitions: class maths { student student1; } class student { String name;…
  20. JdbcOdbcDriver is an object of Object class
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  23. The keywords reserved but not used in the initial version of Java re:
  24. Frames and applets cannot be used together in the same program.
  25. Which of the following command lines options generates documentation for all classes and methods?
  26. executeUpdate automatically updates data because___________
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. An individual array element that is passed to a method and modified in that method will contain the…
  29. The default case is always required in the switch selection structure.
  30. A constructor must always invoke its supper class constructor in its first statement.