System.out.println("Starting Interface...");
Interface mainFrame = new Interface();
mainFrame.setSize(400, 400);
mainFrame.setTitle("Interface");
mainFrame.setVisible(true);
Shape c = new Circle(10.0);
System.out.println("Area of the circle is "+c.area());
System.out.println("Perimeter of the circle is "+c.perimeter());
Shape t = new Triangle(10.0, 10.0);
System.out.println("Area of the Triangle is "+t.area());
System.out.println("Perimeter of the triangle is "+t.perimeter());