jdisa/tests/Test.java
author Markus Bröker <mbroeker@largo.dyndns.tv>
Sun, 19 Jul 2009 19:43:46 +0200
changeset 100 a6d2add085d7
parent 95 d2a071bd1a60
permissions -rw-r--r--
Apache Derby Examples... The DBClient class connects to any kind of derby db 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
}