Home

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

A. True

B. False

You can do it
  1. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  2. Which of the following methods belong to the String class?
  3. The break statement is required in the default case of a switch selection structure.
  4. Given the codeString s = new String("abc");Which of the following calls are valid?
  5. What does the following line of code do?TextField text=new TextField(10);
  6. Which of the following statements are valid array declarations?
  7. We can over load methods with differences only in their return type.
  8. A class may be both abstract and final.
  9. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  10. When present, package must be the first no comment statement in the file.
  11. A method declared as static can not access non-static class members.
  12. Throwing an exception always causes program termination.
  13. EJBs can be of the following type(s)None of the above
  14. We would like to make a member of a class visible in all subclasses regardless of what package they…
  15. Which of the following are keywords?
  16. The methods wait() and noify() are defined in
  17. All methods in an abstract class must be declared abstract.
  18. A panel can not be added to another panel.
  19. JdbcOdbcDriver is an object of Object class
  20. Which of the following will produce a value of 22 if x=22.9:
  21. Two methods cannot have the same name in Java.
  22. A constructor must always invoke its supper class constructor in its first statement.
  23. When the string objects are compared with ==, the result is true If the strings contain the same values.
  24. Any class may be inherited by another class in the same package.
  25. Declaring a method synchronized guarantees that the deadlock cannot occur.
  26. One the features of is that an array can store many different types of values.
  27. Members of a class specified as private are accessible only to the methods of the class.
  28. In order to connect to a database through java program we must create _______-
  29. The default case is always required in the switch selection structure.
  30. When we implement the Runnable interface, we must define the method