What is the correct answer?


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

Correct Answer :

B. Executing a class with optimization turned off

Related Questions

A thread can make second thread ineligible for execution by calling the… Two methods cannot have the same name in Java. Which of the following methods can be used to remove a component from… It is an error if a class with one or more abstract methods is not explicitly… If you want to assign a value of 99 to the variable year, then which of… The programmer must explicitly create the system .in and system .out objects. Give file is a file object, which of the following are legal statements… Frames and applets cannot be used together in the same program. In RMI we invoke client method from remote server Java always provides a default constructor to a class. putValue(...) method takes _____________________- JdbcOdbcDriver is an object of Object class Connection, Statement are interfaces and ResultSet is a class. A final class may not have any abstract method. The concept of multiple inheritance is implemented in Java by It is an error to catch the same type of exception in two different catch… class.forName(...) creates an instance of java ODBC driver Every call to wait has a corresponding call to notify that will eventually… A catch can have comma-separated multiple arguments. A JSP file can be stored_________________ The default case is always required in the switch selection structure. Which of the following represent legal flow control statements? DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend… In the code below, what data types the variable x can have? Given the codeString s = new String("abc");Which of the following calls… With javadoc, which of the following denotes a javadoc comment? An individual array element that is passed to a method and modified in… Which of the following control expressions are valid for an if statement? A constructor must always invoke its supper class constructor in its first… Which of the following will produce a value of 22 if x=22.9: