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

A. start()

B. init()

C. runnable()

D. run()

You can do it
  1. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  2. Which of the following command lines options generates documentation for all classes and methods?
  3. It is an error to have a method with the same signature in both the super class and its subclass.
  4. When we invoke repaint () for a Component, the AWT invokes the method:
  5. The import statement is always the first no comment statement in a Java program files.
  6. A JSP file can be stored_________________
  7. The name of the RMI compiler is ___________
  8. The name of a Java program file must match the name of the class with the extension Java.
  9. Which key word can protect a class in package from accessibility by the classes outside the package?
  10. Consider the following class definitions: class maths { student student1; } class student { String name;…
  11. Which of the following will produce a value of 22 if x=22.9:
  12. Java is fully object oriented programme.
  13. Declaring a method synchronized guarantees that the deadlock cannot occur.
  14. Given the codeString s = new String("abc");Which of the following calls are valid?
  15. All the bitwise operators have the same level of precedence in Java.
  16. We would like to make a member of a class visible in all subclasses regardless of what package they…
  17. Which of the following represent legal flow control statements?
  18. When we implement the Runnable interface, we must define the method
  19. Which are the valid ways to create DataInputStream streams?
  20. EJBs can be of the following type(s)None of the above
  21. To delete a file, we can use an instance of class file.
  22. A constructor must always invoke its supper class constructor in its first statement.
  23. JdbcOdbcDriver is an object of Object class
  24. Which exception is thrown by the read() method of InputStream class?
  25. Declarations can appear anywhere in the body of a Java method.
  26. Java always provides a default constructor to a class.
  27. Which javadoc tag is used to denote a comment for methods parameters?
  28. Frames and applets cannot be used together in the same program.
  29. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  30. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…