Servlet can have ___________

A. get method and post method

B. get method or post method

C. Either of the above

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

You can do it
  1. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  2. Submit button always fires doPost(...)
  3. A package is a collection of
  4. A method declared as static can not access non-static class members.
  5. A catch can have comma-separated multiple arguments.
  6. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  7. A class may be both abstract and final.
  8. Two methods cannot have the same name in Java.
  9. Session bean
  10. Which of the following will produce a value of 22 if x=22.9:
  11. We can over load methods with differences only in their return type.
  12. We would like to make a member of a class visible in all subclasses regardless of what package they…
  13. A Java monitor must either extend thread class or implement Runnable interface.
  14. An EJB is a server-side component that encapsulates the business logic of an application
  15. In RMI before running the client program we must start RMI Registry.
  16. It is perfectly legal to refer to any instance variable inside of a static method.
  17. Which of the following are not keywords?
  18. EJBs can be of the following type(s)None of the above
  19. A final class may not have any abstract method.
  20. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  21. Which of the following control expressions are valid for an if statement?
  22. Any class may be inherited by another class in the same package.
  23. Which of the following will produce a value of 10 if x = 9.7?
  24. Which of the following methods can be used to change the size of a size() *resize()
  25. Declarations can appear anywhere in the body of a Java method.
  26. executeUpdate automatically updates data because___________
  27. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  28. The length of a string object 's1' can be obtained using the expression s1.length.
  29. What is java -g used for?
  30. Java always provides a default constructor to a class.