Servlet has ___________

A. init method

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

C. All of the above methods.

You can do it
  1. The name of a Java program file must match the name of the class with the extension Java.
  2. When we implement the Runnable interface, we must define the method
  3. class.forName(...) creates an instance of java ODBC driver
  4. In the code below, what data types the variable x can have?
  5. Which of the following control expressions are valid for an if statement?
  6. A Java monitor must either extend thread class or implement Runnable interface.
  7. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  8. We would like to make a member of a class visible in all subclasses regardless of what package they…
  9. Every method of a final in class is implicitly final.
  10. In order to connect to a database through java program we must create _______-
  11. The keywords reserved but not used in the initial version of Java re:
  12. A catch can have comma-separated multiple arguments.
  13. Which of the following statements are valid array declarations?
  14. The use of protected keyword to a member in a class will restrict its visibility as follows:
  15. EJBs can be of the following type(s)None of the above
  16. In RMI we invoke client method from remote server
  17. When present, package must be the first no comment statement in the file.
  18. The programmer must explicitly create the system .in and system .out objects.
  19. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  20. A static class method can be invoked by simply using the name of the method alone.
  21. executeUpdate(------------) returns ___________
  22. Which javadoc tag is used to denote a comment for methods parameters?
  23. Which of the following represent legal flow control statements?
  24. JdbcOdbcDriver is an object of Object class
  25. The setBackground() method is part of the class
  26. A package is a collection of
  27. Members of a class specified as private are accessible only to the methods of the class.
  28. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  29. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  30. It is perfectly legal to assign a subclass object to a supper class reference.