Home

Servlet has ___________

A. init method

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

C. All of the above methods.

You can do it yup
  1. Which of the following keywords are used to control access to a class member?
  2. Which key word can protect a class in package from accessibility by the classes outside the package?
  3. What does the following line of code do?TextField text=new TextField(10);
  4. With javadoc, which of the following denotes a javadoc comment?
  5. A string object can not be modified after it is created.
  6. The concept of multiple inheritance is implemented in Java by
  7. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  8. It is perfectly legal to assign a subclass object to a supper class reference.
  9. DataInput is
  10. Every method of a final in class is implicitly final.
  11. Which exception is thrown by the read() method of InputStream class?
  12. The setBackground() method is part of the class
  13. A Java monitor must either extend thread class or implement Runnable interface.
  14. The import statement is always the first no comment statement in a Java program files.
  15. Submit button always fires doPost(...)
  16. Which of the following are the wrapper classes?
  17. Which of the following methods can be used to change the size of a size() *resize()
  18. All methods in an abstract class must be declared abstract.
  19. We can add more than one class(es) at the time of compilation Java Beans.
  20. Consider the following class definitions: class maths { student student1; } class student { String name;…
  21. Two methods cannot have the same name in Java.
  22. A package is a collection of
  23. Throwing an exception always causes program termination.
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. A constructor must always invoke its supper class constructor in its first statement.
  26. executeUpdate(------------) returns ___________
  27. Which of the following are keywords?
  28. In order to connect to a database through java program we must create _______-
  29. Which of the following represent legal flow control statements?
  30. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…