summaryrefslogtreecommitdiff
path: root/tutorial/examples/freeargs/Test.oj
blob: 86a6cc9a843329efb8afda2b50b4a46b9ebfae13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*
 * Test.oj
 *
 * Apr 13, 1999  Michiaki Tatsubori
 */
package examples.freeargs;


import java.lang.Object;


/**
 * Just a test.
 */
public class Test
{

    /**
     * This is main method.
     */
    public static void main( String[] args ) {
    Collection c = new Collection();
    c.set( new Integer( args.length ), args[0], args[1] );
    c.add( new Integer( args.length ), args[0], args[1] );
    System.out.println( c.size() );
    }

}