Home

Which of the following are the wrapper classes?

A. Random

B. Vector

C. Byte

D. all of the above

You can do it
  1. JdbcOdbcDriver is an object of Object class
  2. The keywords reserved but not used in the initial version of Java re:
  3. When present, package must be the first no comment statement in the file.
  4. Objects are passed to a method by use of call-by-reference.
  5. All the bitwise operators have the same level of precedence in Java.
  6. When we invoke repaint () for a Component, the AWT invokes the method:
  7. The programmer must explicitly create the system .in and system .out objects.
  8. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  9. Throwing an exception always causes program termination.
  10. The name of a Java program file must match the name of the class with the extension Java.
  11. The methods wait() and noify() are defined in
  12. Which of the following control expressions are valid for an if statement?
  13. A Java monitor must either extend thread class or implement Runnable interface.
  14. A final class may not have any abstract method.
  15. Which of the following are keywords?
  16. A package is a collection of
  17. In the code below, what data types the variable x can have?
  18. Given the codeString s = new String("abc");Which of the following calls are valid?
  19. Which key word can protect a class in package from accessibility by the classes outside the package?
  20. To delete a file, we can use an instance of class file.
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. Submit button always fires doPost(...)
  23. The name of the RMI compiler is ___________
  24. Give file is a file object, which of the following are legal statements to create a new file.
  25. Which of the following statements are true?
  26. Which of the following will produce a value of 10 if x = 9.7?
  27. A static class method can be invoked by simply using the name of the method alone.
  28. Which exception is thrown by the read() method of InputStream class?
  29. forName() is a static factory method
  30. We can over load methods with differences only in their return type.