Without exception handling.

Lab Notes
Clarifying exception handling
by Matt Brenner
Listing 1. Without exception handling.


1 public static final double
2 todouble (String text)
3 {
4      double      val;
5
6
7      val = Double.valueOf (text).doubleValue();
8      return (val);
9 }

Featured

Most   Popular
Upcoming Events

AppTrends

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.