Home

Throwing an exception always causes program termination.

A. True

B. False

You can do it
  1. DataInput is
  2. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  3. Which of the following are keywords?
  4. Any class may be inherited by another class in the same package.
  5. Which of the following classes are available in the java.lang package?
  6. When we implement an interface method, it should be declared as public.
  7. Which key word can protect a class in package from accessibility by the classes outside the package?
  8. Which of the following represent legal flow control statements?
  9. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  10. A method declared as static can not access non-static class members.
  11. When present, package must be the first no comment statement in the file.
  12. In RMI before running the client program we must start RMI Registry.
  13. putValue(...) method takes _____________________-
  14. Which of the following are the wrapper classes?
  15. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  16. A static class method can be invoked by simply using the name of the method alone.
  17. Which of the following statements are true?
  18. All the bitwise operators have the same level of precedence in Java.
  19. What is java -g used for?
  20. Which of the following will produce a value of 22 if x=22.9:
  21. Consider the following code snippet: try {int x=0; int y=50/x; System.out.println("Division by zero");…
  22. Every method of a final in class is implicitly final.
  23. Submit button always fires doPost(...)
  24. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  25. The break statement is required in the default case of a switch selection structure.
  26. An individual array element that is passed to a method and modified in that method will contain the…
  27. The length of a string object 's1' can be obtained using the expression s1.length.
  28. In order to connect to a database through java program we must create _______-
  29. When we invoke repaint () for a Component, the AWT invokes the method:
  30. With javadoc, which of the following denotes a javadoc comment?