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 "methods" and "fields"?
What is the difference between a loader and a compiler?
what is the use of bean managed and container managed with example?
What is the purpose of void?
What are the two categories of data types in the java programming language?
How do you check if a string contains only numeric digits?
Can keyword be used as identifier?
Explain about varargs in java?
How many types of string data types are there?
What is difference between local variable and global variable?
What is static import?
What is the main use of generics in java?
What best practices should you follow while writing multithreaded code in java?
When is the garbage collection used in Java?
What are data structures in java?