From f3cd688b810a13b23697761019aeb774c227c53c Mon Sep 17 00:00:00 2001 From: Igor Pashev Date: Sun, 10 Apr 2011 22:42:06 +0400 Subject: Added synopsis: tested with GCJ and IcedTea6 javac --- gcd.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gcd.java b/gcd.java index 092419a..abc505f 100644 --- a/gcd.java +++ b/gcd.java @@ -1,3 +1,14 @@ +/* + * SYNOPSIS: + * + * # gcj -o gcd --main=gcd gcd.java + * # ./gcd 11 22 33 44 121 + * + * # javac gcd.java + * # java gcd 11 22 33 + * + */ + public class gcd { public static int gcd2(int a, int b) { -- cgit v1.2.3