Can multiple catch statements be used in exceptions ?
Answer Posted / pratik
Yah you can use multiple catch statement.But the super
class type object should not come in catch statment before
sub class type object.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What access modifiers can be used for methods?
What is serial version uid and its importance in java?
What is meant by structural programming?
What is data string?
What are inbuilt functions?
How many days will it take to learn java?
Can a abstract class be declared final?
What is data object example?
What is finally block?
How large is a boolean?
What is the base class in java from which all classes are derived?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What is the use of protected in java?
When do we use synchronized blocks and advantages of using synchronized blocks?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?