Home

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

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. A class may be both abstract and final.
  2. What is java -g used for?
  3. executeUpdate automatically updates data because___________
  4. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  5. Which of the following represent legal flow control statements?
  6. A constructor must always invoke its supper class constructor in its first statement.
  7. A JSP file can be stored_________________
  8. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  9. Which of the following classes are available in the java.lang package?
  10. Servlet can have ___________
  11. Two methods cannot have the same name in Java.
  12. JdbcOdbcDriver is an object of Object class
  13. EJBs can be of the following type(s)None of the above
  14. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  15. Which key word can protect a class in package from accessibility by the classes outside the package?
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. In order to connect to a database through java program we must create _______-
  18. Throwing an exception always causes program termination.
  19. Java always provides a default constructor to a class.
  20. Which of the following methods belong to the String class?
  21. The modulus operator (%) can be used only with Integer operands.
  22. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  23. When we invoke repaint () for a Component, the AWT invokes the method:
  24. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  25. A final class may not have any abstract method.
  26. A Java monitor must either extend thread class or implement Runnable interface.
  27. Members of a class specified as private are accessible only to the methods of the class.
  28. JSP files creates ________________
  29. Consider the following class definitions: class maths { student student1; } class student { String name;…
  30. It is perfectly legal to assign a subclass object to a supper class reference.