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. The default case is always required in the switch selection structure.
  2. The check box group class is a subclass of the component class.
  3. In a single Servlet class we can use____________
  4. Which of the following statements are true?
  5. A final class may not have any abstract method.
  6. Connection, Statement are interfaces and ResultSet is a class.
  7. With javadoc, which of the following denotes a javadoc comment?
  8. All the bitwise operators have the same level of precedence in Java.
  9. Two methods cannot have the same name in Java.
  10. Servlet can have ___________
  11. Any method in a supper class can be over ridden in its subclass.
  12. Which exception is thrown by the read() method of InputStream class?
  13. Which of the following control expressions are valid for an if statement?
  14. Declaring a method synchronized guarantees that the deadlock cannot occur.
  15. Which javadoc tag is used to denote a comment for methods parameters?
  16. The keywords reserved but not used in the initial version of Java re:
  17. Which key word can protect a class in package from accessibility by the classes outside the package?
  18. executeUpdate automatically updates data because___________
  19. When present, package must be the first no comment statement in the file.
  20. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  21. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  22. Declarations can appear anywhere in the body of a Java method.
  23. A string object can not be modified after it is created.
  24. The concept of multiple inheritance is implemented in Java by
  25. In RMI we invoke client method from remote server
  26. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  27. Servlet has ___________
  28. Which of the following methods can be used to change the size of a size() *resize()
  29. The methods wait() and noify() are defined in
  30. One the features of is that an array can store many different types of values.