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'

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. The concept of multiple inheritance is implemented in Java by
  2. When we invoke repaint () for a Component, the AWT invokes the method:
  3. A catch can have comma-separated multiple arguments.
  4. Given the codeString s = new String("abc");Which of the following calls are valid?
  5. The use of protected keyword to a member in a class will restrict its visibility as follows:
  6. Which of the following are not keywords?
  7. Java always provides a default constructor to a class.
  8. Declarations can appear anywhere in the body of a Java method.
  9. It is an error to have a method with the same signature in both the super class and its subclass.
  10. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  11. All methods in an abstract class must be declared abstract.
  12. In order to connect to a database through java program we must create _______-
  13. Which of the following methods can be used to draw the outline of a square?
  14. Which of the following are the wrapper classes?
  15. Which of the following methods can be used to change the size of a size() *resize()
  16. Which of the following command lines options generates documentation for all classes and methods?
  17. Which are the valid ways to create DataInputStream streams?
  18. Which of the following are keywords?
  19. Which of the following statements are valid array declarations?
  20. When we implement the Runnable interface, we must define the method
  21. Consider the following class definitions: class maths { student student1; } class student { String name;…
  22. We can add more than one class(es) at the time of compilation Java Beans.
  23. Objects are passed to a method by use of call-by-reference.
  24. The setBackground() method is part of the class
  25. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  26. The programmer must explicitly create the system .in and system .out objects.
  27. Every method of a final in class is implicitly final.
  28. Which of the following statements are true?
  29. Which of the following will produce a value of 22 if x=22.9:
  30. With javadoc, which of the following denotes a javadoc comment?