Home

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. JSP files creates ________________
  2. Consider the following class definition.Class Student extends String{}What happens when we try to compile…
  3. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  4. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  5. Which exception is thrown by the read() method of InputStream class?
  6. A JSP file can be stored_________________
  7. We can add more than one class(es) at the time of compilation Java Beans.
  8. Which of the following control expressions are valid for an if statement?
  9. Java is fully object oriented programme.
  10. The use of protected keyword to a member in a class will restrict its visibility as follows:
  11. A class may be both abstract and final.
  12. A final class may not have any abstract method.
  13. When the string objects are compared with ==, the result is true If the strings contain the same values.
  14. It is an error to have a method with the same signature in both the super class and its subclass.
  15. Which of the following will produce a value of 10 if x = 9.7?
  16. When X is a positive number the operations x>> 2 and x>>>2 both produce the same result.
  17. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  18. Session bean
  19. Which are the valid ways to create DataInputStream streams?
  20. What does the following line of code do?TextField text=new TextField(10);
  21. A thread can make second thread ineligible for execution by calling the suspend (-) method on second…
  22. A catch can have comma-separated multiple arguments.
  23. Submit button always fires doPost(...)
  24. The concept of multiple inheritance is implemented in Java by
  25. Which of the following keywords are used to control access to a class member?
  26. Which of the following are keywords?
  27. The check box group class is a subclass of the component class.
  28. Give file is a file object, which of the following are legal statements to create a new file.
  29. A static class method can be invoked by simply using the name of the method alone.
  30. Connection, Statement are interfaces and ResultSet is a class.