What is the correct answer?


Servlet has ___________

A. init method

B. doGet(------) method

C. All of the above methods.

Correct Answer :

C. All of the above methods.

Related Questions

The name of a Java program file must match the name of the class with… Java is fully object oriented programme. The expression (x == y && a<b) is true If either x == y is true or… The default case is always required in the switch selection structure. Message-Driven beans act as a listener for the Java Message Service API,… Which of the following represent legal flow control statements? Which of the following will produce a value of 10 if x = 9.7? Every method of a final in class is implicitly final. Submit button always fires doPost(...) Which of the following string can be used as mode string for creating… A catch can have comma-separated multiple arguments. In the code below, what data types the variable x can have? The import statement is always the first no comment statement in a Java… Declarations can appear anywhere in the body of a Java method. The modulus operator (%) can be used only with Integer operands. Session bean The setBackground() method is part of the class The name of the RMI compiler is ___________ Which of the following command lines options generates documentation for… The use of protected keyword to a member in a class will restrict its… It is an error to catch the same type of exception in two different catch… In evaluating a logical expression of type 'Boolean expression 1&& Boolean… Which of the following methods can be used to draw the outline of a square? All the bitwise operators have the same level of precedence in Java. Declaring a method synchronized guarantees that the deadlock cannot occur. In order to connect to a database through java program we must create… A constructor must always invoke its supper class constructor in its first… Any method in a supper class can be over ridden in its subclass. If you want to assign a value of 99 to the variable year, then which of… An individual array element that is passed to a method and modified in…