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

You can do it
  1. Which of the following keywords are used to control access to a class member?
  2. The length of a string object 's1' can be obtained using the expression s1.length.
  3. In order to connect to a database through java program we must create _______-
  4. We can over load methods with differences only in their return type.
  5. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  6. executeUpdate automatically updates data because___________
  7. Consider the following class definitions: class maths { student student1; } class student { String name;…
  8. When the string objects are compared with ==, the result is true If the strings contain the same values.
  9. Connection, Statement are interfaces and ResultSet is a class.
  10. A package is a collection of
  11. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  12. A catch can have comma-separated multiple arguments.
  13. Which key word can protect a class in package from accessibility by the classes outside the package?
  14. Which of the following represent legal flow control statements?
  15. putValue(...) method takes _____________________-
  16. Every method of a final in class is implicitly final.
  17. Which of the following statements are valid array declarations?
  18. Which of the following methods belong to the String class?
  19. A final class may not have any abstract method.
  20. class.forName(...) creates an instance of java ODBC driver
  21. The keywords reserved but not used in the initial version of Java re:
  22. executeUpdate(------------) returns ___________
  23. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  24. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  25. forName() is a static factory method
  26. Which of the following control expressions are valid for an if statement?
  27. With javadoc, which of the following denotes a javadoc comment?
  28. What is java -g used for?
  29. Declaring a method synchronized guarantees that the deadlock cannot occur.
  30. DataInput is