Search:

Type: Posts; User: ojonugwa

Search: Search took 0.08 seconds.

  1. Re: What is the difference between a statement surrounded by curly brackets and one that isn't?

    Yeah, the if () {} statement is inside a try catch statement, i just forgot to include it in my question.
  2. What is the difference between a statement surrounded by curly brackets and one that isn't?

    Question is a little bit elementary, but i just need a programmer to programmer explanation.
    For example:


    if (number < 1 || number > 100 )
    throw new InvalidInputException();
    ...
Results 1 to 2 of 2