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 is return type in java?
Which category the java thread do fall in?
How to perform linear search in java?
How do you reverse a string in java?
Is string a datatype?
What all access modifiers are allowed for top class ?
Can a class have more than one object?
What are the different types of inheritance in java?
Write a program to check for a prime number in java?
Differentiate between static and non-static methods in java.
What is a parameter in a function?
What is enhanced loop in java?
How can you handle java exceptions?
Is singleton a bad practice?
How many types of gc are there in java?