what are the type of exception
How the exceptions are handled in java
Can we have try without catch block in java ?
What is RunTime exception in java?
Can we keep other statements in between try, catch and finally block?
Can we keep the statements after finally block If the control is returning from the finally block itself?
What is Re-throwing an exception in java?
Can we have try without catch block in java ?
Yes, we can have try without catch block by using finally block. You can use try with finally.
As you know finally block always executes even if you have exception or return statement in try block except in case of System.exit()..
core java