When we implement an interface method, it should be declared as public.

A. True

B. False

You can do it
  1. The programmer must explicitly create the system .in and system .out objects.
  2. When we invoke repaint () for a Component, the AWT invokes the method:
  3. forName() is a static factory method
  4. Submit button always fires doPost(...)
  5. In a single Servlet class we can use____________
  6. The break statement is required in the default case of a switch selection structure.
  7. Consider the following class definitions: class maths { student student1; } class student { String name;…
  8. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  9. Which of the following are keywords?
  10. Which exception is thrown by the read() method of InputStream class?
  11. We can over load methods with differences only in their return type.
  12. Which of the following methods can be used to remove a component from the display?
  13. The check box group class is a subclass of the component class.
  14. Which of the following control expressions are valid for an if statement?
  15. An individual array element that is passed to a method and modified in that method will contain the…
  16. Connection, Statement are interfaces and ResultSet is a class.
  17. Java always provides a default constructor to a class.
  18. Every method of a final in class is implicitly final.
  19. The use of protected keyword to a member in a class will restrict its visibility as follows:
  20. In RMI we invoke client method from remote server
  21. The methods wait() and noify() are defined in
  22. Which of the following methods can be used to change the size of a size() *resize()
  23. Which of the following will produce a value of 10 if x = 9.7?
  24. putValue(...) method takes _____________________-
  25. A panel can not be added to another panel.
  26. Objects are passed to a method by use of call-by-reference.
  27. executeUpdate(------------) returns ___________
  28. Servlet can have ___________
  29. It is perfectly legal to refer to any instance variable inside of a static method.
  30. A package is a collection of