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. It is perfectly legal to assign a subclass object to a supper class reference.
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Give file is a file object, which of the following are legal statements to create a new file.
  4. The modulus operator (%) can be used only with Integer operands.
  5. putValue(...) method takes _____________________-
  6. The break statement is required in the default case of a switch selection structure.
  7. Every method of a final in class is implicitly final.
  8. A string object can not be modified after it is created.
  9. A package is a collection of
  10. The concept of multiple inheritance is implemented in Java by
  11. Which of the following will produce a value of 22 if x=22.9:
  12. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  13. When we invoke repaint () for a Component, the AWT invokes the method:
  14. Which exception is thrown by the read() method of InputStream class?
  15. executeUpdate(------------) returns ___________
  16. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  17. forName() is a static factory method
  18. EJBs can be of the following type(s)None of the above
  19. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  20. An EJB is a server-side component that encapsulates the business logic of an application
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. In the code below, what data types the variable x can have?
  23. Servlet has ___________
  24. Two methods cannot have the same name in Java.
  25. Which of the following methods can be used to draw the outline of a square?
  26. Which of the following represent legal flow control statements?
  27. When we implement the Runnable interface, we must define the method
  28. DataInput is
  29. The import statement is always the first no comment statement in a Java program files.
  30. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.