Search:

Type: Posts; User: peter_parker

Search: Search took 0.10 seconds.

  1. Replies
    2
    Views
    1,407

    Re: finally block execution

    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...
  2. Replies
    2
    Views
    1,407

    finally block execution

    public class HelloWorld{
    static int a;
    public static void main(String []args){
    System.out.println("Hello World");
    HelloWorld h =new HelloWorld();
    a = h.foo();
    ...
Results 1 to 2 of 2