/** @param args the command line arguments */ public static void main(String[] args) { int x = args.length; System.out.println("Hello"); // without the new there would not be an object created just a reference to one Rational r = new Rational(); Rational r2 = new Rational(1, 2); r.display(); String[] names = new String[100]; for (int i = 0; i < 100; i++) { names[i] = new String(); } r2.display(); r2.equals(r); }