Java Interview Question And Answer try catch finally In what sequence does the finally block gets ex

168 views · Published 18 December 2013 · 2:39 · Indexed 4 November 2026

Channel: Interview DOT · 2013 · Science & Technology

Watch on YouTube

Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. Java Interview Question And Answer try catch finally In what sequence does the finally block gets ex

In what sequence does the finally block gets executed ?
    If you put finally after a try block without a matching catch block then it will be executed after the try block
    If it is placed after the catch block and there is no exception then also it will be executed after the try block
    If there is an exception and it is handled by the catch block then it will be executed after the catch block

A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

Other Top Job Portals
www.Naukri.com
www.MonsterIndia.com
www.TimesJobs.com

Are you looking for a new Job ?
InterviewDot.com - A Job Portal
http://www.InterviewDot.com http://www.InterviewDot.com http://www.InterviewDot.com
One Click Dream Job - http://www.interviewdot.com/upload-resume/uploadresume.htm

More from this channel