Which of the following classes are available in the java.lang package?

A. Random

B. Stack

C. String Buffer

D. Vector

You can do it
  1. The modulus operator (%) can be used only with Integer operands.
  2. We can over load methods with differences only in their return type.
  3. Objects are passed to a method by use of call-by-reference.
  4. executeUpdate(------------) returns ___________
  5. The name of a Java program file must match the name of the class with the extension Java.
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. Which of the following are keywords?
  8. The keywords reserved but not used in the initial version of Java re:
  9. A class may be both abstract and final.
  10. Any method in a supper class can be over ridden in its subclass.
  11. It is perfectly legal to assign a subclass object to a supper class reference.
  12. The check box group class is a subclass of the component class.
  13. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  14. Servlet has ___________
  15. A final class may not have any abstract method.
  16. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  17. A Java monitor must either extend thread class or implement Runnable interface.
  18. Which javadoc tag is used to denote a comment for methods parameters?
  19. Declaring a method synchronized guarantees that the deadlock cannot occur.
  20. The setBackground() method is part of the class
  21. Frames and applets cannot be used together in the same program.
  22. EJBs can be of the following type(s)None of the above
  23. Which of the following control expressions are valid for an if statement?
  24. Declarations can appear anywhere in the body of a Java method.
  25. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  26. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  27. Which of the following keywords are used to control access to a class member?
  28. A JSP file can be stored_________________
  29. All methods in an abstract class must be declared abstract.
  30. Which of the following command lines options generates documentation for all classes and methods?