public static void main(String[] args) {

        HelloWorld hw = new HelloWorld();
        hw.printHelloWorld();
        
        System.out.println(args[0]);
        System.out.println(args[1]);
        System.out.println(args[2]);
        
        HelloWorldWithMethod hw2 = new HelloWorldWithMethod();
        hw2.hello();
        
        HelloWorldWithAttrib hw3 = new HelloWorldWithAttrib("Salut!");
        hw3.hello();
        
        int sum = 0;
        for (int i=0; i<100; i++) {
            sum += i;
        }
        System.out.println(sum);
     
        ArrayStack as = new ArrayStack(10);
        
        as.push(10);
       
        try {
            as.pop();
        } catch (EmptyException ex) {
            Logger.getLogger(Tp1.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        LinkedStack ls = new LinkedStack();
        
        System.out.println(ls.isEmpty());
        
       
        
        ls.push(new Integer(100));
        ls.push(new Integer(50));
        
        try {
            System.out.println(ls.pop());
            System.out.println(ls.pop());
        } catch (EmptyException ex) {
            Logger.getLogger(Tp1.class.getName()).log(Level.SEVERE, null, ex);
        }
 
        
    }