What is the correct answer?


Servlet can have ___________

A. get method and post method

B. get method or post method

C. Either of the above

Correct Answer :

C. Either of the above

Related Questions

All the bitwise operators have the same level of precedence in Java. It is an error to have a method with the same signature in both the super… In RMI we invoke client method from remote server In a single Servlet class we can use____________ The import statement is always the first no comment statement in a Java… Members of a class specified as private are accessible only to the methods… Frames and applets cannot be used together in the same program. Which of the following methods belong to the String class? What is wrong in the following class definitions? abstract class… Submit button always fires doPost(...) The check box group class is a subclass of the component class. In order to connect to a database through java program we must create… Which exception is thrown by the read() method of InputStream class? All methods in an abstract class must be declared abstract. The break statement is required in the default case of a switch selection… A JSP file can be stored_________________ Which of the following represent legal flow control statements? An individual array element that is passed to a method and modified in… Which javadoc tag is used to denote a comment for methods parameters? The use of protected keyword to a member in a class will restrict its… A variable declared inside the for loop control can not be referenced… Any class may be inherited by another class in the same package. Which of the following methods can be used to remove a component from… What is error in the following class definitions? abstract class… Which of the following statements are true? It is an error to catch the same type of exception in two different catch… Declarations can appear anywhere in the body of a Java method. It is perfectly legal to assign a subclass object to a supper class reference. class.forName(...) creates an instance of java ODBC driver When we invoke repaint () for a Component, the AWT invokes the method: