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 of the following classes are available in the java.lang package?
  2. Declarations can appear anywhere in the body of a Java method.
  3. The concept of multiple inheritance is implemented in Java by
  4. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  5. Which of the following control expressions are valid for an if statement?
  6. Java is fully object oriented programme.
  7. Objects are passed to a method by use of call-by-reference.
  8. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  9. The use of protected keyword to a member in a class will restrict its visibility as follows:
  10. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  11. Which are the valid ways to create DataInputStream streams?
  12. Give file is a file object, which of the following are legal statements to create a new file.
  13. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  14. All methods in an abstract class must be declared abstract.
  15. We would like to make a member of a class visible in all subclasses regardless of what package they…
  16. Java always provides a default constructor to a class.
  17. Which of the following command lines options generates documentation for all classes and methods?
  18. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  19. Which of the following methods can be used to draw the outline of a square?
  20. executeUpdate(------------) returns ___________
  21. One the features of is that an array can store many different types of values.
  22. The import statement is always the first no comment statement in a Java program files.
  23. When the string objects are compared with ==, the result is true If the strings contain the same values.
  24. Which of the following keywords are used to control access to a class member?
  25. The modulus operator (%) can be used only with Integer operands.
  26. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  27. The methods wait() and noify() are defined in
  28. In a single Servlet class we can use____________
  29. A variable declared inside the for loop control can not be referenced out side the loop.
  30. Which of the following are the wrapper classes?