Which exception is thrown by the read() method of InputStream class?

A. IOException

B. FileNotFoundException

C. ReadException

D. None of the above

You can do it
  1. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  2. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  3. Any method in a supper class can be over ridden in its subclass.
  4. The keywords reserved but not used in the initial version of Java re:
  5. In order to connect to a database through java program we must create _______-
  6. The concept of multiple inheritance is implemented in Java by
  7. Which of the following control expressions are valid for an if statement?
  8. Which of the following statements are valid array declarations?
  9. All the bitwise operators have the same level of precedence in Java.
  10. We can add more than one class(es) at the time of compilation Java Beans.
  11. Servlet has ___________
  12. Servlet can have ___________
  13. It is perfectly legal to assign a subclass object to a supper class reference.
  14. EJBs can be of the following type(s)None of the above
  15. Which of the following methods can be used to draw the outline of a square?
  16. A panel can not be added to another panel.
  17. Which of the following classes are available in the java.lang package?
  18. All methods in an abstract class must be declared abstract.
  19. The methods wait() and noify() are defined in
  20. Which of the following will produce a value of 10 if x = 9.7?
  21. An individual array element that is passed to a method and modified in that method will contain the…
  22. The break statement is required in the default case of a switch selection structure.
  23. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  24. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  25. JSP files creates ________________
  26. Which of the following methods can be used to change the size of a size() *resize()
  27. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  28. The use of protected keyword to a member in a class will restrict its visibility as follows:
  29. Frames and applets cannot be used together in the same program.
  30. Which of the following keywords are used to control access to a class member?