Home

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. We can over load methods with differences only in their return type.
  2. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  3. Which of the following will produce a value of 22 if x=22.9:
  4. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  5. One the features of is that an array can store many different types of values.
  6. Which exception is thrown by the read() method of InputStream class?
  7. Session bean
  8. The modulus operator (%) can be used only with Integer operands.
  9. Frames and applets cannot be used together in the same program.
  10. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  11. We can add more than one class(es) at the time of compilation Java Beans.
  12. Which of the following are not keywords?
  13. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  14. Throwing an exception always causes program termination.
  15. For all insert, update, delete, query operations on a database, ResultSet object creation is mandatory.
  16. In order to connect to a database through java program we must create _______-
  17. Which of the following methods can be used to draw the outline of a square?
  18. Any method in a supper class can be over ridden in its subclass.
  19. Which of the following classes are available in the java.lang package?
  20. EJBs can be of the following type(s)None of the above
  21. It is perfectly legal to assign a subclass object to a supper class reference.
  22. In RMI we invoke client method from remote server
  23. executeUpdate(------------) returns ___________
  24. When we implement an interface method, it should be declared as public.
  25. The break statement is required in the default case of a switch selection structure.
  26. An EJB is a server-side component that encapsulates the business logic of an application
  27. The methods wait() and noify() are defined in
  28. Any class may be inherited by another class in the same package.
  29. Which of the following statements are true?
  30. The name of the RMI compiler is ___________