Home

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 use of protected keyword to a member in a class will restrict its visibility as follows:
  2. A static class method can be invoked by simply using the name of the method alone.
  3. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  4. EJBs can be of the following type(s)None of the above
  5. In RMI we invoke client method from remote server
  6. The programmer must explicitly create the system .in and system .out objects.
  7. Which of the following are not keywords?
  8. The concept of multiple inheritance is implemented in Java by
  9. Any class may be inherited by another class in the same package.
  10. Which of the following methods can be used to remove a component from the display?
  11. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  12. Which of the following control expressions are valid for an if statement?
  13. Objects are passed to a method by use of call-by-reference.
  14. forName() is a static factory method
  15. Which of the following statements are true?
  16. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  17. Which of the following command lines options generates documentation for all classes and methods?
  18. Servlet has ___________
  19. A method declared as static can not access non-static class members.
  20. Submit button always fires doPost(...)
  21. An individual array element that is passed to a method and modified in that method will contain the…
  22. When the string objects are compared with ==, the result is true If the strings contain the same values.
  23. A string object can not be modified after it is created.
  24. Which of the following are keywords?
  25. When we implement an interface method, it should be declared as public.
  26. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  27. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  28. We can add more than one class(es) at the time of compilation Java Beans.
  29. With javadoc, which of the following denotes a javadoc comment?
  30. The import statement is always the first no comment statement in a Java program files.