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. DataInput is
  2. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  3. JSP files creates ________________
  4. We can over load methods with differences only in their return type.
  5. Give file is a file object, which of the following are legal statements to create a new file.
  6. One the features of is that an array can store many different types of values.
  7. EJBs can be of the following type(s)None of the above
  8. A catch can have comma-separated multiple arguments.
  9. It is perfectly legal to assign a subclass object to a supper class reference.
  10. The concept of multiple inheritance is implemented in Java by
  11. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  12. Consider the following class definitions: class maths { student student1; } class student { String name;…
  13. Any method in a supper class can be over ridden in its subclass.
  14. Which of the following methods can be used to change the size of a size() *resize()
  15. Which of the following methods can be used to draw the outline of a square?
  16. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  17. It is an error to have a method with the same signature in both the super class and its subclass.
  18. When we invoke repaint () for a Component, the AWT invokes the method:
  19. A class may be both abstract and final.
  20. Which of the following methods can be used to remove a component from the display?
  21. Which of the following are not keywords?
  22. Which key word can protect a class in package from accessibility by the classes outside the package?
  23. Which of the following are the wrapper classes?
  24. A method declared as static can not access non-static class members.
  25. Frames and applets cannot be used together in the same program.
  26. Which of the following methods belong to the String class?
  27. Declarations can appear anywhere in the body of a Java method.
  28. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  29. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  30. executeUpdate automatically updates data because___________