The methods wait() and noify() are defined in

A. java.lang.Thread

B. java.lang.Runnable

C. java.lang.Object

D. java.lang.ThreadGroup

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

You can do it
  1. Which of the following will produce a value of 22 if x=22.9:
  2. Which of the following methods can be used to change the size of a size() *resize()
  3. Which of the following command lines options generates documentation for all classes and methods?
  4. It is an error to catch the same type of exception in two different catch blocks associated with a particular…
  5. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  6. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  7. With javadoc, which of the following denotes a javadoc comment?
  8. Which of the following are not keywords?
  9. The default case is always required in the switch selection structure.
  10. Servlet has ___________
  11. Which of the following classes are available in the java.lang package?
  12. A string object can not be modified after it is created.
  13. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  14. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  15. Connection, Statement are interfaces and ResultSet is a class.
  16. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  17. Session bean
  18. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  19. What does the following line of code do?TextField text=new TextField(10);
  20. class.forName(...) creates an instance of java ODBC driver
  21. Which key word can protect a class in package from accessibility by the classes outside the package?
  22. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  23. In a single Servlet class we can use____________
  24. A package is a collection of
  25. The use of protected keyword to a member in a class will restrict its visibility as follows:
  26. Which of the following represent legal flow control statements?
  27. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  28. The modulus operator (%) can be used only with Integer operands.
  29. A Java monitor must either extend thread class or implement Runnable interface.
  30. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…