Home

The keywords reserved but not used in the initial version of Java re:

A. Synchronized

B. Boolean

C. union

D. goto

You can do it
  1. What does the following line of code do?TextField text=new TextField(10);
  2. Which of the following keywords are used to control access to a class member?
  3. When we implement the Runnable interface, we must define the method
  4. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  5. Which of the following are the wrapper classes?
  6. In RMI we invoke client method from remote server
  7. The use of protected keyword to a member in a class will restrict its visibility as follows:
  8. In RMI before running the client program we must start RMI Registry.
  9. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  10. putValue(...) method takes _____________________-
  11. An EJB is a server-side component that encapsulates the business logic of an application
  12. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  13. It is perfectly legal to assign a subclass object to a supper class reference.
  14. A JSP file can be stored_________________
  15. A Java monitor must either extend thread class or implement Runnable interface.
  16. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  17. When the string objects are compared with ==, the result is true If the strings contain the same values.
  18. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  19. JdbcOdbcDriver is an object of Object class
  20. It is perfectly legal to refer to any instance variable inside of a static method.
  21. Which of the following will produce a value of 10 if x = 9.7?
  22. Submit button always fires doPost(...)
  23. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  24. executeUpdate automatically updates data because___________
  25. Which of the following represent legal flow control statements?
  26. The import statement is always the first no comment statement in a Java program files.
  27. We would like to make a member of a class visible in all subclasses regardless of what package they…
  28. The programmer must explicitly create the system .in and system .out objects.
  29. JSP files creates ________________
  30. The break statement is required in the default case of a switch selection structure.