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. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  2. A static class method can be invoked by simply using the name of the method alone.
  3. In RMI before running the client program we must start RMI Registry.
  4. executeUpdate automatically updates data because___________
  5. Which of the following control expressions are valid for an if statement?
  6. Which of the following methods can be used to draw the outline of a square?
  7. Which of the following methods can be used to change the size of a size() *resize()
  8. An EJB is a server-side component that encapsulates the business logic of an application
  9. Which of the following statements are true?
  10. The name of a Java program file must match the name of the class with the extension Java.
  11. In order to connect to a database through java program we must create _______-
  12. Which of the following methods belong to the String class?
  13. A JSP file can be stored_________________
  14. In a single Servlet class we can use____________
  15. The methods wait() and noify() are defined in
  16. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  17. Which are the valid ways to create DataInputStream streams?
  18. Which of the following methods can be used to remove a component from the display?
  19. The import statement is always the first no comment statement in a Java program files.
  20. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  21. Objects are passed to a method by use of call-by-reference.
  22. With javadoc, which of the following denotes a javadoc comment?
  23. All the bitwise operators have the same level of precedence in Java.
  24. A string object can not be modified after it is created.
  25. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  26. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  27. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  28. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  29. Which of the following are the wrapper classes?
  30. Which of the following will produce a value of 22 if x=22.9: