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 if a class with one or more abstract methods is not explicitly declared abstract.
  2. Which of the following methods can be used to draw the outline of a square?
  3. It is an error to have a method with the same signature in both the super class and its subclass.
  4. When the string objects are compared with ==, the result is true If the strings contain the same values.
  5. Objects are passed to a method by use of call-by-reference.
  6. JSP files creates ________________
  7. The default case is always required in the switch selection structure.
  8. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  9. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  10. The check box group class is a subclass of the component class.
  11. Throwing an exception always causes program termination.
  12. Servlet has ___________
  13. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. The concept of multiple inheritance is implemented in Java by
  16. Java always provides a default constructor to a class.
  17. Which of the following will produce a value of 10 if x = 9.7?
  18. forName() is a static factory method
  19. Which of the following represent legal flow control statements?
  20. A Java monitor must either extend thread class or implement Runnable interface.
  21. Submit button always fires doPost(...)
  22. What does the following line of code do?TextField text=new TextField(10);
  23. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  24. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  25. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  26. The programmer must explicitly create the system .in and system .out objects.
  27. Which of the following will produce a value of 22 if x=22.9:
  28. The name of the RMI compiler is ___________
  29. executeUpdate automatically updates data because___________
  30. Any method in a supper class can be over ridden in its subclass.