Home

Which of the following are keywords?

A. integer

B. default

C. Boolean

D. Object

You can do it
  1. Which of the following methods can be used to change the size of a size() *resize()
  2. Servlet has ___________
  3. Which of the following statements are true?
  4. An individual array element that is passed to a method and modified in that method will contain the…
  5. In a single Servlet class we can use____________
  6. A class may be both abstract and final.
  7. When the string objects are compared with ==, the result is true If the strings contain the same values.
  8. Declaring a method synchronized guarantees that the deadlock cannot occur.
  9. All the bitwise operators have the same level of precedence in Java.
  10. Any class may be inherited by another class in the same package.
  11. The modulus operator (%) can be used only with Integer operands.
  12. One the features of is that an array can store many different types of values.
  13. Every method of a final in class is implicitly final.
  14. A static class method can be invoked by simply using the name of the method alone.
  15. JSP files creates ________________
  16. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  17. The import statement is always the first no comment statement in a Java program files.
  18. When present, package must be the first no comment statement in the file.
  19. Given the codeString s = new String("abc");Which of the following calls are valid?
  20. We would like to make a member of a class visible in all subclasses regardless of what package they…
  21. Which of the following keywords are used to control access to a class member?
  22. Two methods cannot have the same name in Java.
  23. Throwing an exception always causes program termination.
  24. A JSP file can be stored_________________
  25. executeUpdate(------------) returns ___________
  26. Which of the following are the wrapper classes?
  27. Objects are passed to a method by use of call-by-reference.
  28. Session bean
  29. When we implement an interface method, it should be declared as public.
  30. It is an error to have a method with the same signature in both the super class and its subclass.