Home

What is the correct answer?

4

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

Correct Answer :

A. True


Related Questions

The keywords reserved but not used in the initial version of Java re: Given the codeString s = new String("abc");Which of the following calls… Declaring a method synchronized guarantees that the deadlock cannot occur. A static class method can be invoked by simply using the name of the method… executeUpdate automatically updates data because___________ DriverManager.getConnection("jdbc:odbc:dsn_name") method does not depend… In RMI before running the client program we must start RMI Registry. Which of the following statements are true? putValue(...) method takes _____________________- Which of the following keywords are used to control access to a class… Which of the following string can be used as mode string for creating… If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value… Which of the following are not keywords? When present, package must be the first no comment statement in the file. Submit button always fires doPost(...) When the string objects are compared with ==, the result is true If the… Which exception is thrown by the read() method of InputStream class? If a=10 and b= 15, then the statement x =(a>b)?a:b; assigns the value… When we implement the Runnable interface, we must define the method A panel can not be added to another panel. executeUpdate(------------) returns ___________ We would like to make a member of a class visible in all subclasses regardless… Two methods cannot have the same name in Java. Which key word can protect a class in package from accessibility by the… Which of the following command lines options generates documentation for… The check box group class is a subclass of the component class. All the bitwise operators have the same level of precedence in Java. When we implement an interface method, it should be declared as public. Frames and applets cannot be used together in the same program. Consider the following class definitions: class maths { student student1;…