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. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  2. When we implement an interface method, it should be declared as public.
  3. A Java monitor must either extend thread class or implement Runnable interface.
  4. A constructor must always invoke its supper class constructor in its first statement.
  5. Objects are passed to a method by use of call-by-reference.
  6. What is java -g used for?
  7. The programmer must explicitly create the system .in and system .out objects.
  8. A catch can have comma-separated multiple arguments.
  9. The setBackground() method is part of the class
  10. When we implement the Runnable interface, we must define the method
  11. In RMI before running the client program we must start RMI Registry.
  12. Which of the following are not keywords?
  13. Members of a class specified as private are accessible only to the methods of the class.
  14. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  15. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  16. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  17. Java always provides a default constructor to a class.
  18. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  19. With javadoc, which of the following denotes a javadoc comment?
  20. executeUpdate(------------) returns ___________
  21. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  22. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  23. Which exception is thrown by the read() method of InputStream class?
  24. A final class may not have any abstract method.
  25. Servlet has ___________
  26. Which of the following keywords are used to control access to a class member?
  27. It is an error to have a method with the same signature in both the super class and its subclass.
  28. putValue(...) method takes _____________________-
  29. Throwing an exception always causes program termination.
  30. Servlet can have ___________