Hi guys can sumone show me how I can use the if and then in the following statement.. Thanks
if (nop - h < 0)
throw new UnsupportedFlavorException(null);
break player;
} catch (Exception e) {
System.out.println("number of humans ");}}
Printable View
Hi guys can sumone show me how I can use the if and then in the following statement.. Thanks
if (nop - h < 0)
throw new UnsupportedFlavorException(null);
break player;
} catch (Exception e) {
System.out.println("number of humans ");}}
try {
....
if (nop - h < 0) {
throw new UnsupportedFlavorException(null);
} else {
break player;
}
} catch (Exception e) {
System.out.println("number of humans ");
}
cool thanks for your help