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

A. True

B. False

You can do it
  1. Java always provides a default constructor to a class.
  2. In RMI we invoke client method from remote server
  3. Declarations can appear anywhere in the body of a Java method.
  4. JSP files creates ________________
  5. A catch can have comma-separated multiple arguments.
  6. Which of the following classes are available in the java.lang package?
  7. Which javadoc tag is used to denote a comment for methods parameters?
  8. Servlet has ___________
  9. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  10. An individual array element that is passed to a method and modified in that method will contain the…
  11. When we implement the Runnable interface, we must define the method
  12. We can add more than one class(es) at the time of compilation Java Beans.
  13. Which exception is thrown by the read() method of InputStream class?
  14. Consider the following class definitions: class maths { student student1; } class student { String name;…
  15. Which of the following statements are true?
  16. executeUpdate(------------) returns ___________
  17. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  18. Given the codeString s = new String("abc");Which of the following calls are valid?
  19. We would like to make a member of a class visible in all subclasses regardless of what package they…
  20. Two methods cannot have the same name in Java.
  21. Declaring a method synchronized guarantees that the deadlock cannot occur.
  22. Session bean
  23. One the features of is that an array can store many different types of values.
  24. Every method of a final in class is implicitly final.
  25. The name of the RMI compiler is ___________
  26. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  27. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  28. A panel can not be added to another panel.
  29. Which of the following control expressions are valid for an if statement?
  30. A final class may not have any abstract method.