It is an error to catch the same type of exception in two different catch blocks associated with a particular try block.

A. True

B. False

You can do it
  1. A string object can not be modified after it is created.
  2. Every call to wait has a corresponding call to notify that will eventually end the wafting.
  3. Which of the following command lines options generates documentation for all classes and methods?
  4. All the bitwise operators have the same level of precedence in Java.
  5. A panel can not be added to another panel.
  6. One the features of is that an array can store many different types of values.
  7. The concept of multiple inheritance is implemented in Java by
  8. The length of a string object 's1' can be obtained using the expression s1.length.
  9. Consider the following statements: int x = 10, y = 15; x = ((x < y) ? (y + x) : (y - x); What will…
  10. All methods in an abstract class must be declared abstract.
  11. The expression (x == y && a<b) is true If either x == y is true or a<b is true.
  12. putValue(...) method takes _____________________-
  13. A constructor must always invoke its supper class constructor in its first statement.
  14. In a single Servlet class we can use____________
  15. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  16. The methods wait() and noify() are defined in
  17. Message-Driven beans act as a listener for the Java Message Service API, processing messages synchronously
  18. Which of the following are the wrapper classes?
  19. The break statement is required in the default case of a switch selection structure.
  20. Which of the following will produce a value of 10 if x = 9.7?
  21. Frames and applets cannot be used together in the same program.
  22. Declarations can appear anywhere in the body of a Java method.
  23. Which of the following represent legal flow control statements?
  24. Servlet has ___________
  25. In evaluating a logical expression of type 'Boolean expression 1&& Boolean expression 2', both the Boolean…
  26. Which of the following statements are true?
  27. In order to connect to a database through java program we must create _______-
  28. Which of the following methods can be used to remove a component from the display?
  29. EJBs can be of the following type(s)None of the above
  30. The modulus operator (%) can be used only with Integer operands.