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

A. True

B. False

You can do it yup
  1. Which of the following methods belong to the String class?
  2. Which of the following will produce a value of 10 if x = 9.7?
  3. Which of the following are keywords?
  4. executeUpdate automatically updates data because___________
  5. We can over load methods with differences only in their return type.
  6. Which of the following keywords are used to control access to a class member?
  7. One the features of is that an array can store many different types of values.
  8. In RMI before running the client program we must start RMI Registry.
  9. Which key word can protect a class in package from accessibility by the classes outside the package?
  10. A catch can have comma-separated multiple arguments.
  11. What does the following line of code do?TextField text=new TextField(10);
  12. Servlet can have ___________
  13. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  14. EJBs can be of the following type(s)None of the above
  15. All methods in an abstract class must be declared abstract.
  16. A constructor must always invoke its supper class constructor in its first statement.
  17. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  18. putValue(...) method takes _____________________-
  19. Two methods cannot have the same name in Java.
  20. The use of protected keyword to a member in a class will restrict its visibility as follows:
  21. The keywords reserved but not used in the initial version of Java re:
  22. A Java monitor must either extend thread class or implement Runnable interface.
  23. In order to connect to a database through java program we must create _______-
  24. An individual array element that is passed to a method and modified in that method will contain the…
  25. The programmer must explicitly create the system .in and system .out objects.
  26. The methods wait() and noify() are defined in
  27. The setBackground() method is part of the class
  28. Which of the following are the wrapper classes?
  29. What is java -g used for?
  30. The concept of multiple inheritance is implemented in Java by