divya kumar wrote:Java code execute finally block in any case.
Not necessarily.
divya kumar wrote:My question how compiler make byte code for those .java file who have finally block in the code.
Well, from byte code perspective, I don't think why there should be any difference to java file with or without finally block. Its just another logical path. That's it.
I hope this helps.
Regards,
Anayonkar Shivalkar (SCJP, SCWCD, OCMJD, OCEEJBD)