Ah, o bloco finally
class B{
public int doIt(){
try{
return 1;
}catch(Exception e){
return 2;
}finally{
return 3;
}
}
public static void main(String [] args){
int i = 0;
B b = new B();
i = b.doIt();
System.out.println(i);
}
}
Sempre será impresso 3
Se bem que isso gera um belo warning!