jdisa/tests/Test.java
author Markus Bröker <mbroeker@largo.dyndns.tv>
Wed, 26 May 2010 14:57:53 +0200
changeset 127 162c0af185d7
parent 95 d2a071bd1a60
permissions -rw-r--r--
view/.gitignore: ignore the projects binary committer: Markus Bröker <mbroeker@largo.homelinux.org>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
95
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     1
public class Test {
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     2
    public static void main (String args[]) {
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     3
        int i;
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     4
          try {
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     5
            i = Integer.parseInt (args[0]);
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     6
            System.out.printf ("%d%n", i + 5);
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     7
        } catch (Exception e) {
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     8
            e.printStackTrace ();
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
     9
        }
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    10
    }
d2a071bd1a60 java disassembler
Markus Bröker <mbroeker@largo.dyndns.tv>
parents:
diff changeset
    11
}