Ok, everybody here already know about the affair, I am just discussing some more bits of this love triangle.
Lets dig hard to the shallow level :)
So from even the baddest of our common-sense, we smell that finally block supercedes the two others, viz., try and catch. Lets prove a point in this.
Lets dig hard to the shallow level :)
try{
//try something
}
//and if the trial goes wrong, catch the issue and handle
catch(Exception e){
//handling the problematic part
//or at least letting the program to continue
//and exit gracefully and not shut at face!
}
//but
finally{
//do this, so you are the winner!!
}
So from even the baddest of our common-sense, we smell that finally block supercedes the two others, viz., try and catch. Lets prove a point in this.