There are some situations where you can code to avoid an exception rather than use a try/catch statement.


if(denom != 0) {
result = num / denom;
}

But if you wish to call a method that...