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. Which of the following methods belong to the String class?
  2. The name of a Java program file must match the name of the class with the extension Java.
  3. Any method in a supper class can be over ridden in its subclass.
  4. Which of the following are not keywords?
  5. executeUpdate automatically updates data because___________
  6. Which of the following classes are available in the java.lang package?
  7. The default case is always required in the switch selection structure.
  8. Which of the following are keywords?
  9. To delete a file, we can use an instance of class file.
  10. A class may be both abstract and final.
  11. Which exception is thrown by the read() method of InputStream class?
  12. Connection, Statement are interfaces and ResultSet is a class.
  13. We can add more than one class(es) at the time of compilation Java Beans.
  14. Which are the valid ways to create DataInputStream streams?
  15. forName() is a static factory method
  16. One the features of is that an array can store many different types of values.
  17. In the code below, what data types the variable x can have?
  18. putValue(...) method takes _____________________-
  19. The import statement is always the first no comment statement in a Java program files.
  20. Which of the following keywords are used to control access to a class member?
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  23. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  24. All the bitwise operators have the same level of precedence in Java.
  25. The name of the RMI compiler is ___________
  26. Which of the following control expressions are valid for an if statement?
  27. Give file is a file object, which of the following are legal statements to create a new file.
  28. The programmer must explicitly create the system .in and system .out objects.
  29. Which of the following will produce a value of 22 if x=22.9:
  30. What does the following line of code do?TextField text=new TextField(10);