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...
Type: Posts; User: Junky
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...