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. EJBs can be of the following type(s)None of the above
  2. An individual array element that is passed to a method and modified in that method will contain the…
  3. If you want to assign a value of 99 to the variable year, then which of the following lines can be used…
  4. Which of the following string can be used as mode string for creating a RandomAccessFile object?
  5. If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value 15 to x.
  6. A catch can have comma-separated multiple arguments.
  7. Which of the following keywords are used to control access to a class member?
  8. The length of a string object 's1' can be obtained using the expression s1.length.
  9. The break statement is required in the default case of a switch selection structure.
  10. The modulus operator (%) can be used only with Integer operands.
  11. An EJB is a server-side component that encapsulates the business logic of an application
  12. A string object can not be modified after it is created.
  13. When we implement an interface method, it should be declared as public.
  14. DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend on the class.forName(...) method.
  15. When the string objects are compared with ==, the result is true If the strings contain the same values.
  16. A final class may not have any abstract method.
  17. The default case is always required in the switch selection structure.
  18. Every method of a final in class is implicitly final.
  19. Which of the following will produce a value of 22 if x=22.9:
  20. What is error in the following class definitions? abstract class xy { abstract sum(int x, int y)…
  21. It is an error if a class with one or more abstract methods is not explicitly declared abstract.
  22. The import statement is always the first no comment statement in a Java program files.
  23. Which of the following are keywords?
  24. Java is fully object oriented programme.
  25. What does the following line of code do?TextField text=new TextField(10);
  26. When we invoke repaint () for a Component, the AWT invokes the method:
  27. Which of the following statements are true?
  28. Which are the valid ways to create DataInputStream streams?
  29. class.forName(...) creates an instance of java ODBC driver
  30. Which of the following are the wrapper classes?