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 is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
Write a function to print Fibonacci series and Tribonacci series?
What does n mean?
What is the purpose of the enableevents() method in java programming?
Explain wrapper classes in java?
Is array passed by reference in java?
Is string passed by reference in java?
What is empty string literal in java?
How we create object in copy constructor?
What is an example of a constant variable?
What is return null in java?
What is difference between class and object in java?
Write a program to print all permutations of string?
Define inheritance?
What’s a deadlock?