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

A. True

B. False

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

You can do it
  1. In the code below, what data types the variable x can have?
  2. A Java monitor must either extend thread class or implement Runnable interface.
  3. putValue(...) method takes _____________________-
  4. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  5. When we implement an interface method, it should be declared as public.
  6. Which key word can protect a class in package from accessibility by the classes outside the package?
  7. EJBs can be of the following type(s)None of the above
  8. Which of the following will produce a value of 22 if x=22.9:
  9. When present, package must be the first no comment statement in the file.
  10. A JSP file can be stored_________________
  11. A constructor must always invoke its supper class constructor in its first statement.
  12. Java always provides a default constructor to a class.
  13. In order to connect to a database through java program we must create _______-
  14. The import statement is always the first no comment statement in a Java program files.
  15. The keywords reserved but not used in the initial version of Java re:
  16. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  17. All methods in an abstract class must be declared abstract.
  18. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  19. The default case is always required in the switch selection structure.
  20. JSP files creates ________________
  21. The methods wait() and noify() are defined in
  22. When we invoke repaint () for a Component, the AWT invokes the method:
  23. Any class may be inherited by another class in the same package.
  24. Throwing an exception always causes program termination.
  25. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  26. The programmer must explicitly create the system .in and system .out objects.
  27. Which of the following statements are true?
  28. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  29. Which of the following classes are available in the java.lang package?
  30. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.