Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

You can do it
  1. Which of the following keywords are used to control access to a class member?
  2. Which of the following are keywords?
  3. Which of the following statements are valid array declarations?
  4. Frames and applets cannot be used together in the same program.
  5. Which of the following are not keywords?
  6. The keywords reserved but not used in the initial version of Java re:
  7. The name of the RMI compiler is ___________
  8. Two methods cannot have the same name in Java.
  9. It is perfectly legal to assign a subclass object to a supper class reference.
  10. An EJB is a server-side component that encapsulates the business logic of an application
  11. The setBackground() method is part of the class
  12. Declaring a method synchronized guarantees that the deadlock cannot occur.
  13. All the bitwise operators have the same level of precedence in Java.
  14. Which of the following methods can be used to remove a component from the display?
  15. forName() is a static factory method
  16. Which of the following classes are available in the java.lang package?
  17. A package is a collection of
  18. Any method in a supper class can be over ridden in its subclass.
  19. To delete a file, we can use an instance of class file.
  20. Which of the following methods can be used to change the size of a size() *resize()
  21. In RMI before running the client program we must start RMI Registry.
  22. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  23. putValue(...) method takes _____________________-
  24. A variable declared inside the for loop control can not be referenced out side the loop.
  25. executeUpdate automatically updates data because___________
  26. When we implement an interface method, it should be declared as public.
  27. It is perfectly legal to refer to any instance variable inside of a static method.
  28. A class may be both abstract and final.
  29. The break statement is required in the default case of a switch selection structure.
  30. The programmer must explicitly create the system .in and system .out objects.