Search:

Type: Posts; User: Norm

Search: Search took 0.09 seconds.

  1. Re: Determening the output when dealing with exceptions without running the code

    The way I would solve it is to edit the source and add comments on each statement in order as they are executed or skipped.
    For example:

    if(x <= 0) throw new E1(); // x=0 throw E1
    } catch...
  2. Re: Determening the output when dealing with exceptions without running the code

    Compile and execute the code to see what it produces.
  3. Re: Determening the output when dealing with exceptions without running the code

    Try playing computer with paper and pencil. "execute" each statement in your mind and write down the results of any changes in variables' values.


    Looks like it depends on the value in x when it...
Results 1 to 3 of 3