Every call to wait has a corresponding call to notify that will eventually end the wafting.

A. True

B. False

You can do it
  1. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  2. Any method in a supper class can be over ridden in its subclass.
  3. executeUpdate(------------) returns ___________
  4. Which of the following represent legal flow control statements?
  5. Which of the following will produce a value of 22 if x=22.9:
  6. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  7. JdbcOdbcDriver is an object of Object class
  8. Which of the following are keywords?
  9. Which javadoc tag is used to denote a comment for methods parameters?
  10. Consider the following class definitions: class maths { student student1; } class student { String name;…
  11. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  12. We can over load methods with differences only in their return type.
  13. Which of the following methods can be used to remove a component from the display?
  14. It is perfectly legal to refer to any instance variable inside of a static method.
  15. Which of the following are the wrapper classes?
  16. Which key word can protect a class in package from accessibility by the classes outside the package?
  17. Declaring a method synchronized guarantees that the deadlock cannot occur.
  18. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  19. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  20. Servlet can have ___________
  21. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  22. Declarations can appear anywhere in the body of a Java method.
  23. The name of a Java program file must match the name of the class with the extension Java.
  24. The concept of multiple inheritance is implemented in Java by
  25. Which of the following methods can be used to change the size of a size() *resize()
  26. Java always provides a default constructor to a class.
  27. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  28. When present, package must be the first no comment statement in the file.
  29. Members of a class specified as private are accessible only to the methods of the class.
  30. A class may be both abstract and final.