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. In RMI before running the client program we must start RMI Registry.
  2. Java always provides a default constructor to a class.
  3. Consider the following class definitions: class maths { student student1; } class student { String name;…
  4. In RMI we invoke client method from remote server
  5. We would like to make a member of a class visible in all subclasses regardless of what package they…
  6. executeUpdate(------------) returns ___________
  7. Which of the following classes are available in the java.lang package?
  8. Which of the following command lines options generates documentation for all classes and methods?
  9. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  10. The setBackground() method is part of the class
  11. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  12. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  13. When we invoke repaint () for a Component, the AWT invokes the method:
  14. Members of a class specified as private are accessible only to the methods of the class.
  15. Which of the following keywords are used to control access to a class member?
  16. Which of the following methods can be used to remove a component from the display?
  17. Which of the following control expressions are valid for an if statement?
  18. Which of the following are the wrapper classes?
  19. The import statement is always the first no comment statement in a Java program files.
  20. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  21. Which of the following statements are true?
  22. Objects are passed to a method by use of call-by-reference.
  23. Java is fully object oriented programme.
  24. Which key word can protect a class in package from accessibility by the classes outside the package?
  25. A final class may not have any abstract method.
  26. When present, package must be the first no comment statement in the file.
  27. Given the codeString s = new String("abc");Which of the following calls are valid?
  28. The break statement is required in the default case of a switch selection structure.
  29. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  30. putValue(...) method takes _____________________-