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

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. Which of the following statements are true?
  2. A constructor must always invoke its supper class constructor in its first statement.
  3. When we implement the Runnable interface, we must define the method
  4. In order to connect to a database through java program we must create _______-
  5. Any class may be inherited by another class in the same package.
  6. The default case is always required in the switch selection structure.
  7. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  8. Which are the valid ways to create DataInputStream streams?
  9. The concept of multiple inheritance is implemented in Java by
  10. Give file is a file object, which of the following are legal statements to create a new file.
  11. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  12. The check box group class is a subclass of the component class.
  13. The methods wait() and noify() are defined in
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. The use of protected keyword to a member in a class will restrict its visibility as follows:
  16. Frames and applets cannot be used together in the same program.
  17. When we implement an interface method, it should be declared as public.
  18. Which of the following keywords are used to control access to a class member?
  19. In RMI we invoke client method from remote server
  20. Any method in a supper class can be over ridden in its subclass.
  21. Objects are passed to a method by use of call-by-reference.
  22. All methods in an abstract class must be declared abstract.
  23. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  24. Which of the following are not keywords?
  25. Which of the following are the wrapper classes?
  26. A Java monitor must either extend thread class or implement Runnable interface.
  27. Connection, Statement are interfaces and ResultSet is a class.
  28. forName() is a static factory method
  29. Which of the following control expressions are valid for an if statement?
  30. Given the codeString s = new String("abc");Which of the following calls are valid?