Home

What is the correct answer?

4

A Java monitor must either extend thread class or implement Runnable interface.

A. True

B. False

Correct Answer :

B. False


Related Questions

Consider the following class definition.Class Student extends String{}What… It is perfectly legal to refer to any instance variable inside of a static… Which of the following will produce a value of 10 if x = 9.7? We can add more than one class(es) at the time of compilation Java Beans. Every method of a final in class is implicitly final. The default case is always required in the switch selection structure. The name of the RMI compiler is ___________ Which of the following string can be used as mode string for creating… putValue(...) method takes _____________________- executeUpdate(------------) returns ___________ Which of the following are not keywords? Which of the following are keywords? Frames and applets cannot be used together in the same program. The use of protected keyword to a member in a class will restrict its… Given the codeString s = new String("abc");Which of the following calls… When the string objects are compared with ==, the result is true If the… Which key word can protect a class in package from accessibility by the… Declarations can appear anywhere in the body of a Java method. A constructor must always invoke its supper class constructor in its first… Two methods cannot have the same name in Java. A class may be both abstract and final. If you want to assign a value of 99 to the variable year, then which of… Which of the following keywords are used to control access to a class… A catch can have comma-separated multiple arguments. What is java -g used for? class.forName(...) creates an instance of java ODBC driver Which of the following are the wrapper classes? A Java monitor must either extend thread class or implement Runnable interface. Session bean For all insert, update, delete, query operations on a database, ResultSet…