Home

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

A. True

B. False

Please do not use chat terms. Example: avoid using "grt" instead of "great".

You can do it
  1. All methods in an abstract class must be declared abstract.
  2. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  3. Which of the following will produce a value of 22 if x=22.9:
  4. In RMI before running the client program we must start RMI Registry.
  5. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  6. Any class may be inherited by another class in the same package.
  7. Any method in a supper class can be over ridden in its subclass.
  8. The setBackground() method is part of the class
  9. A panel can not be added to another panel.
  10. Which of the following statements are true?
  11. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  12. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  13. Java is fully object oriented programme.
  14. What is java -g used for?
  15. Which of the following statements are true?
  16. executeUpdate automatically updates data because___________
  17. Given the codeString s = new String("abc");Which of the following calls are valid?
  18. One the features of is that an array can store many different types of values.
  19. forName() is a static factory method
  20. Declarations can appear anywhere in the body of a Java method.
  21. Which of the following control expressions are valid for an if statement?
  22. Which of the following command lines options generates documentation for all classes and methods?
  23. Session bean
  24. In RMI we invoke client method from remote server
  25. When we implement an interface method, it should be declared as public.
  26. A static class method can be invoked by simply using the name of the method alone.
  27. The name of a Java program file must match the name of the class with the extension Java.
  28. Every method of a final in class is implicitly final.
  29. Give file is a file object, which of the following are legal statements to create a new file.
  30. The import statement is always the first no comment statement in a Java program files.