Home

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

A. IOException

B. FileNotFoundException

C. ReadException

D. None of the above

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

You can do it
  1. All the bitwise operators have the same level of precedence in Java.
  2. In order to connect to a database through java program we must create _______-
  3. A string object can not be modified after it is created.
  4. Which of the following methods can be used to remove a component from the display?
  5. If m and n are int type variables, what will be the result of the expression'm % n' when m = -14 and…
  6. EJBs can be of the following type(s)None of the above
  7. putValue(...) method takes _____________________-
  8. Which of the following statements are true?
  9. Two methods cannot have the same name in Java.
  10. Which of the following statements are true?
  11. A constructor must always invoke its supper class constructor in its first statement.
  12. What is wrong in the following class definitions? abstract class print { abstract show();} class…
  13. Which of the following statements are valid array declarations?
  14. The break statement is required in the default case of a switch selection structure.
  15. Which of the following classes are available in the java.lang package?
  16. A class may be both abstract and final.
  17. Which of the following command lines options generates documentation for all classes and methods?
  18. With javadoc, which of the following denotes a javadoc comment?
  19. The methods wait() and noify() are defined in
  20. When we invoke repaint () for a Component, the AWT invokes the method:
  21. One the features of is that an array can store many different types of values.
  22. We would like to make a member of a class visible in all subclasses regardless of what package they…
  23. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  24. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  25. The programmer must explicitly create the system .in and system .out objects.
  26. Which of the following keywords are used to control access to a class member?
  27. The setBackground() method is part of the class
  28. Which of the following are the wrapper classes?
  29. In a single Servlet class we can use____________
  30. The expression (x == y && a<b) is true If either x == y is true or a<b is true.