jdisa/tests/Test.java
author Markus Brökers <mbroeker@largo.homelinux.org>
Sun, 29 Aug 2010 16:36:19 +0200
changeset 145 63a5269fb113
parent 95 d2a071bd1a60
permissions -rw-r--r--
removed code without effect time_t represents the number of seconds since the birth of unix. to deal with microseconds and friends, use a) gettimeofday b) struct timeval

public class Test {
    public static void main (String args[]) {
        int i;
          try {
            i = Integer.parseInt (args[0]);
            System.out.printf ("%d%n", i + 5);
        } catch (Exception e) {
            e.printStackTrace ();
        }
    }
}