jdisa/tests/Test.java
author Markus Bröker <mbroeker@largo.dyndns.tv>
Wed, 26 May 2010 14:56:44 +0200
changeset 126 52722ac7693f
parent 95 d2a071bd1a60
permissions -rw-r--r--
mysql_db: get not more than num_fields fields from a row I haven't tested the old approach, because i have never installed or used mysql. But it's nice to see that it actually works with this small patch. committer: Markus Bröker <mbroeker@largo.homelinux.org>

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 ();
        }
    }
}