Home

One the features of is that an array can store many different types of values.

A. True

B. False

You can do it
  1. Servlet has ___________
  2. It is an error to have a method with the same signature in both the super class and its subclass.
  3. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  4. What does the following line of code do?TextField text=new TextField(10);
  5. Submit button always fires doPost(...)
  6. Which key word can protect a class in package from accessibility by the classes outside the package?
  7. We can over load methods with differences only in their return type.
  8. putValue(...) method takes _____________________-
  9. Which of the following will produce a value of 22 if x=22.9:
  10. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  11. Objects are passed to a method by use of call-by-reference.
  12. When we implement an interface method, it should be declared as public.
  13. Java always provides a default constructor to a class.
  14. An individual array element that is passed to a method and modified in that method will contain the…
  15. Frames and applets cannot be used together in the same program.
  16. Which of the following methods can be used to change the size of a size() *resize()
  17. We would like to make a member of a class visible in all subclasses regardless of what package they…
  18. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  19. executeUpdate(------------) returns ___________
  20. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  21. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  22. In the code below, what data types the variable x can have?
  23. JSP files creates ________________
  24. Which of the following are keywords?
  25. A static class method can be invoked by simply using the name of the method alone.
  26. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  27. The default case is always required in the switch selection structure.
  28. Which of the following methods can be used to draw the outline of a square?
  29. Which of the following classes are available in the java.lang package?
  30. Which of the following string can be used as mode string for creating a RandomAccessFile object?