jdisa/tests/Test.java
changeset 95 d2a071bd1a60
equal deleted inserted replaced
94:c100ba6939e3 95:d2a071bd1a60
       
     1 public class Test {
       
     2     public static void main (String args[]) {
       
     3         int i;
       
     4           try {
       
     5             i = Integer.parseInt (args[0]);
       
     6             System.out.printf ("%d%n", i + 5);
       
     7         } catch (Exception e) {
       
     8             e.printStackTrace ();
       
     9         }
       
    10     }
       
    11 }