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

A. start()

B. init()

C. runnable()

D. run()

You can do it
  1. Consider the following class definitions: class maths { student student1; } class student { String name;…
  2. Java always provides a default constructor to a class.
  3. In RMI we invoke client method from remote server
  4. Which of the following statements are true?
  5. The use of protected keyword to a member in a class will restrict its visibility as follows:
  6. In a single Servlet class we can use____________
  7. Which of the following methods can be used to change the size of a size() *resize()
  8. Declaring a method synchronized guarantees that the deadlock cannot occur.
  9. Servlet can have ___________
  10. Declarations can appear anywhere in the body of a Java method.
  11. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  12. The break statement is required in the default case of a switch selection structure.
  13. Which of the following will produce a value of 10 if x = 9.7?
  14. All the bitwise operators have the same level of precedence in Java.
  15. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  16. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  17. Java is fully object oriented programme.
  18. In order to connect to a database through java program we must create _______-
  19. Which of the following keywords are used to control access to a class member?
  20. class.forName(...) creates an instance of java ODBC driver
  21. The length of a string object 's1' can be obtained using the expression s1.length.
  22. putValue(...) method takes _____________________-
  23. Which of the following represent legal flow control statements?
  24. A class may be both abstract and final.
  25. JSP files creates ________________
  26. It is perfectly legal to assign a subclass object to a supper class reference.
  27. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  28. All methods in an abstract class must be declared abstract.
  29. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  30. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.