public int f(){
int i=9;
try{
i=99;
return i;
}finally{
i=10;
}
}
When i call the above method, it returns 99.
I didn't understand the logic behind this. I thought the method will return 10, rather it returned 99.
can anybody please explain me the logic behind it?