Home

Servlet has ___________

A. init method

B. doGet(------) method

C. All of the above methods.

You can do it
  1. Which of the following statements are true?
  2. Which of the following methods belong to the String class?
  3. Which of the following methods can be used to remove a component from the display?
  4. A class may be both abstract and final.
  5. executeUpdate(------------) returns ___________
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. Declaring a method synchronized guarantees that the deadlock cannot occur.
  8. We would like to make a member of a class visible in all subclasses regardless of what package they…
  9. The methods wait() and noify() are defined in
  10. Java is fully object oriented programme.
  11. When the string objects are compared with ==, the result is true If the strings contain the same values.
  12. putValue(...) method takes _____________________-
  13. Which of the following will produce a value of 10 if x = 9.7?
  14. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  15. Which of the following control expressions are valid for an if statement?
  16. The break statement is required in the default case of a switch selection structure.
  17. A final class may not have any abstract method.
  18. Declarations can appear anywhere in the body of a Java method.
  19. In RMI before running the client program we must start RMI Registry.
  20. Which of the following are not keywords?
  21. Which of the following statements are valid array declarations?
  22. All methods in an abstract class must be declared abstract.
  23. The concept of multiple inheritance is implemented in Java by
  24. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  25. One the features of is that an array can store many different types of values.
  26. Frames and applets cannot be used together in the same program.
  27. All the bitwise operators have the same level of precedence in Java.
  28. We can over load methods with differences only in their return type.
  29. The name of a Java program file must match the name of the class with the extension Java.
  30. Given the codeString s = new String("abc");Which of the following calls are valid?