What is java -g used for?

A. Using the jdb tool

B. Executing a class with optimization turned off

C. To provided information about deprecated methods

D. Non of the above

You can do it
  1. DataInput is
  2. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  3. A string object can not be modified after it is created.
  4. All methods in an abstract class must be declared abstract.
  5. JdbcOdbcDriver is an object of Object class
  6. The default case is always required in the switch selection structure.
  7. All the bitwise operators have the same level of precedence in Java.
  8. In a single Servlet class we can use____________
  9. The name of a Java program file must match the name of the class with the extension Java.
  10. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  11. Which of the following are the wrapper classes?
  12. Which of the following classes are available in the java.lang package?
  13. A constructor must always invoke its supper class constructor in its first statement.
  14. Declarations can appear anywhere in the body of a Java method.
  15. Any method in a supper class can be over ridden in its subclass.
  16. Which of the following statements are valid array declarations?
  17. A catch can have comma-separated multiple arguments.
  18. Servlet can have ___________
  19. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  20. Two methods cannot have the same name in Java.
  21. The import statement is always the first no comment statement in a Java program files.
  22. It is perfectly legal to assign a subclass object to a supper class reference.
  23. Which of the following methods can be used to change the size of a size() *resize()
  24. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  25. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  26. A package is a collection of
  27. Which of the following methods belong to the String class?
  28. The concept of multiple inheritance is implemented in Java by
  29. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  30. Which of the following command lines options generates documentation for all classes and methods?