Return values
We often write our methods to return useful values
Under most common circumstances
Java methods return one value
In order to deal with exceptional conditions, a special value would have to be returned
Adding complexity to method code.
Previous slide
Next slide
Back to first slide
View graphic version