1 // A definite assignment test. 2 3 public class assignment 4 { foo()5 public static Byte foo () 6 { 7 Byte b; 8 9 while (true) { 10 try { 11 b = Byte.decode ("42"); 12 break; 13 } catch (NumberFormatException ignored) {} 14 } 15 16 return b; 17 } 18 } 19 20