Home

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

A. -protected

B. -public

C. -private

D. -encoding

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

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. The setBackground() method is part of the class
  3. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  4. Which of the following will produce a value of 22 if x=22.9:
  5. Submit button always fires doPost(...)
  6. Which of the following statements are valid array declarations?
  7. A panel can not be added to another panel.
  8. Which of the following are not keywords?
  9. A JSP file can be stored_________________
  10. Members of a class specified as private are accessible only to the methods of the class.
  11. A catch can have comma-separated multiple arguments.
  12. The check box group class is a subclass of the component class.
  13. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  14. EJBs can be of the following type(s)None of the above
  15. Servlet can have ___________
  16. The break statement is required in the default case of a switch selection structure.
  17. We can add more than one class(es) at the time of compilation Java Beans.
  18. A string object can not be modified after it is created.
  19. We can over load methods with differences only in their return type.
  20. When we invoke repaint () for a Component, the AWT invokes the method:
  21. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  22. Which of the following methods belong to the String class?
  23. Which of the following methods can be used to draw the outline of a square?
  24. Which of the following statements are true?
  25. What is java -g used for?
  26. It is perfectly legal to refer to any instance variable inside of a static method.
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. Which javadoc tag is used to denote a comment for methods parameters?
  29. The import statement is always the first no comment statement in a Java program files.
  30. Declaring a method synchronized guarantees that the deadlock cannot occur.