Servlet can have ___________

A. get method and post method

B. get method or post method

C. Either of the above

You can do it
  1. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  2. Which of the following keywords are used to control access to a class member?
  3. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  4. In RMI before running the client program we must start RMI Registry.
  5. A constructor must always invoke its supper class constructor in its first statement.
  6. When the string objects are compared with ==, the result is true If the strings contain the same values.
  7. Objects are passed to a method by use of call-by-reference.
  8. putValue(...) method takes _____________________-
  9. Which of the following methods can be used to draw the outline of a square?
  10. All methods in an abstract class must be declared abstract.
  11. A string object can not be modified after it is created.
  12. What is java -g used for?
  13. Every method of a final in class is implicitly final.
  14. Session bean
  15. Which of the following command lines options generates documentation for all classes and methods?
  16. When we implement an interface method, it should be declared as public.
  17. Which key word can protect a class in package from accessibility by the classes outside the package?
  18. We can over load methods with differences only in their return type.
  19. It is perfectly legal to assign a subclass object to a supper class reference.
  20. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  21. Which of the following statements are valid array declarations?
  22. Throwing an exception always causes program termination.
  23. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  24. Which of the following statements are true?
  25. executeUpdate automatically updates data because___________
  26. An EJB is a server-side component that encapsulates the business logic of an application
  27. The length of a string object 's1' can be obtained using the expression s1.length.
  28. Give file is a file object, which of the following are legal statements to create a new file.
  29. The break statement is required in the default case of a switch selection structure.
  30. What is wrong in the following class definitions? abstract class print { abstract show();} class…