I want to know that which block executed first catch or finally..I mean to say that after return in catch the jvm should leave the block without executing finally.Then why does value of a is 10 and...
Type: Posts; User: peter_parker
I want to know that which block executed first catch or finally..I mean to say that after return in catch the jvm should leave the block without executing finally.Then why does value of a is 10 and...
public class HelloWorld{
static int a;
public static void main(String []args){
System.out.println("Hello World");
HelloWorld h =new HelloWorld();
a = h.foo();
...