What error occurs if a try-catch-finally statement sequence
does not have a catch clause?
Answer Posted / nagaraju
we can have try block with out catch block, but we should
have finally block after try block(if catch block is not
there). If any exception occurs in the try block or not
finally block will be executed.
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What are checked exceptions?
What is this keyword used for?
Can java cast null?
Is java platform independent?
What are advantages and disadvantages of OOPs?
What is Enum in Java?
Can a main method be declared final?
How do you escape a string?
What is oop principle in java?
What is variable and its types?
Can a abstract class be declared final?
What is the right data type to represent a price in java?
What does I ++ mean?
What is multi level inheritance in java?
What is the difference between @before and @beforeclass annotation?