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. Which exception is thrown by the read() method of InputStream class?
  2. JdbcOdbcDriver is an object of Object class
  3. A variable declared inside the for loop control can not be referenced out side the loop.
  4. When present, package must be the first no comment statement in the file.
  5. In RMI we invoke client method from remote server
  6. Session bean
  7. A final class may not have any abstract method.
  8. Give file is a file object, which of the following are legal statements to create a new file.
  9. When we implement an interface method, it should be declared as public.
  10. JSP files creates ________________
  11. A Java monitor must either extend thread class or implement Runnable interface.
  12. Which of the following statements are true?
  13. Frames and applets cannot be used together in the same program.
  14. Two methods cannot have the same name in Java.
  15. class.forName(...) creates an instance of java ODBC driver
  16. We would like to make a member of a class visible in all subclasses regardless of what package they…
  17. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  18. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  19. We can over load methods with differences only in their return type.
  20. Which of the following keywords are used to control access to a class member?
  21. A panel can not be added to another panel.
  22. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  23. The break statement is required in the default case of a switch selection structure.
  24. Which of the following control expressions are valid for an if statement?
  25. The methods wait() and noify() are defined in
  26. Every method of a final in class is implicitly final.
  27. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  28. To delete a file, we can use an instance of class file.
  29. The setBackground() method is part of the class
  30. All methods in an abstract class must be declared abstract.