Home

In a single Servlet class we can use____________

A. doGet(...) method only

B. doPost(...) method only

C. doGet(...) method and doPost(...) method both at a time.

D. Either 'a' or 'b'

You can do it
  1. Which of the following command lines options generates documentation for all classes and methods?
  2. The setBackground() method is part of the class
  3. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  4. Two methods cannot have the same name in Java.
  5. Session bean
  6. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  7. Which of the following are not keywords?
  8. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  9. putValue(...) method takes _____________________-
  10. It is an error to have a method with the same signature in both the super class and its subclass.
  11. What does the following line of code do?TextField text=new TextField(10);
  12. A string object can not be modified after it is created.
  13. All methods in an abstract class must be declared abstract.
  14. The keywords reserved but not used in the initial version of Java re:
  15. Which of the following will produce a value of 22 if x=22.9:
  16. class.forName(...) creates an instance of java ODBC driver
  17. A JSP file can be stored_________________
  18. The modulus operator (%) can be used only with Integer operands.
  19. Which of the following represent legal flow control statements?
  20. Which key word can protect a class in package from accessibility by the classes outside the package?
  21. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  22. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  23. executeUpdate(------------) returns ___________
  24. We can add more than one class(es) at the time of compilation Java Beans.
  25. Which exception is thrown by the read() method of InputStream class?
  26. Objects are passed to a method by use of call-by-reference.
  27. In a single Servlet class we can use____________
  28. Which of the following represent legal flow control statements?
  29. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  30. In RMI before running the client program we must start RMI Registry.