When we implement the Runnable interface, we must define the method

A. start()

B. init()

C. runnable()

D. run()

You can do it
  1. Which of the following will produce a value of 10 if x = 9.7?
  2. executeUpdate automatically updates data because___________
  3. A string object can not be modified after it is created.
  4. A Java monitor must either extend thread class or implement Runnable interface.
  5. Which of the following represent legal flow control statements?
  6. We can add more than one class(es) at the time of compilation Java Beans.
  7. It is an error to have a method with the same signature in both the super class and its subclass.
  8. A method declared as static can not access non-static class members.
  9. Throwing an exception always causes program termination.
  10. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  11. It is perfectly legal to refer to any instance variable inside of a static method.
  12. Which of the following keywords are used to control access to a class member?
  13. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  14. Members of a class specified as private are accessible only to the methods of the class.
  15. executeUpdate(------------) returns ___________
  16. Which of the following statements are true?
  17. A variable declared inside the for loop control can not be referenced out side the loop.
  18. Given the codeString s = new String("abc");Which of the following calls are valid?
  19. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  20. An individual array element that is passed to a method and modified in that method will contain the…
  21. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  22. In order to connect to a database through java program we must create _______-
  23. The use of protected keyword to a member in a class will restrict its visibility as follows:
  24. JSP files creates ________________
  25. Which of the following are not keywords?
  26. Two methods cannot have the same name in Java.
  27. All the bitwise operators have the same level of precedence in Java.
  28. A package is a collection of
  29. With javadoc, which of the following denotes a javadoc comment?
  30. In RMI we invoke client method from remote server