What error occurs if a try-catch-finally statement sequence
does not have a catch clause?
Answers were Sorted based on User's Feedback
Answer / 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 |
Using callable statement how can you pass out parameters, explain with example?
What is exception propagation?
What are different types of inner classes ?
What are the advantages of arraylist over arrays?
Explain the reason behind ending a program with a system.exit(0)?
Give any two differences between C++ and java.
what is polymorphism?
What do you know about the garbage collector?
What is boolean in java?
justify c is portable
What is the final class modifier?
How many times finalize method will be invoked? Who invokes finalize() method in java?