javaclass

Changeset

121:a6d5ba6eeb84
2005-01-13 Paul Boddie raw files shortlog changelog graph Added a main method test within a package.
tests/testpackage/MainTest.java (file)
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tests/testpackage/MainTest.java	Thu Jan 13 18:36:42 2005 +0100
     1.3 @@ -0,0 +1,9 @@
     1.4 +package testpackage;
     1.5 +
     1.6 +public class MainTest {
     1.7 +    public static void main(String[] args) {
     1.8 +        for (int i = 0; i < args.length; i++) {
     1.9 +            System.out.println(args[i]);
    1.10 +        }
    1.11 +    }
    1.12 +}