Home

Which of the following command lines options generates documentation for all classes and methods?

A. -protected

B. -public

C. -private

D. -encoding

You can do it
  1. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  2. putValue(...) method takes _____________________-
  3. All methods in an abstract class must be declared abstract.
  4. The concept of multiple inheritance is implemented in Java by
  5. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  6. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  7. When we implement an interface method, it should be declared as public.
  8. Which of the following are not keywords?
  9. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  10. executeUpdate automatically updates data because___________
  11. Which of the following represent legal flow control statements?
  12. A static class method can be invoked by simply using the name of the method alone.
  13. Session bean
  14. When we implement the Runnable interface, we must define the method
  15. Which exception is thrown by the read() method of InputStream class?
  16. Any method in a supper class can be over ridden in its subclass.
  17. Which are the valid ways to create DataInputStream streams?
  18. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  19. When present, package must be the first no comment statement in the file.
  20. Which of the following command lines options generates documentation for all classes and methods?
  21. A variable declared inside the for loop control can not be referenced out side the loop.
  22. Which of the following statements are valid array declarations?
  23. DataInput is
  24. In the code below, what data types the variable x can have?
  25. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  26. A JSP file can be stored_________________
  27. Which key word can protect a class in package from accessibility by the classes outside the package?
  28. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  29. One the features of is that an array can store many different types of values.
  30. executeUpdate(------------) returns ___________