Register now or log in to join your professional community.
System.exit() is the only way to achieve the specified requirement.
system.exit is the only statement that can stop finally block to run
try
{
}
catch(exception e)
{
}
finally()
{}