assignment.java 251 Bytes
Newer Older
Anthony Green committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// A definite assignment test.

public class assignment
{
  public static Byte foo ()
    {
      Byte b;
	
      while (true) {
	try {
	  b = Byte.decode ("42");
	  break;
	} catch (NumberFormatException ignored) {}
      }

      return b;
    }
}