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
Why runnable interface is used in java?
Is it possible for a yielded thread to get chance for its execution again?
Difference between method overloading and overriding.
Are arrays primitive data types?
Explain the difference between an Interface and an Abstract class?
Which is a valid identifier?
Does list allow duplicates in java?
Is the empty set a singleton?
Is singleton set an interval?
What is the purpose of static keyword in java?
How do you achieve polymorphism in java?
What do you mean by composition in java?
How to reverse a string in java?
Why is java called java?
Can a main method be declared final?