@@ -0,0 +1,908 @@
+/**%0A * This program is an application class,%0A * It is used to test/drive the Rectangle static logic class%0A * %0A * @author pmcampbell%0A * @version today%0A*/%0Apublic class RectangleDemo %7B%0A   public static void main(String%5B%5D args) %7B%0A      int objectCount;%0A      // Create three instances of the%0A      // Rectangle class.%0A      Rectangle r1 = new Rectangle ();%0A      Rectangle r2 = new Rectangle ();%0A      Rectangle r3 = new Rectangle ();%0A      //static method%0A      objectCount = Rectangle.getRectCount();%0A      System.out.println(objectCount + %0A                    %22 instances of the class were created.%22); %0A      Rectangle r4 = new Rectangle ();%0A      // 4th instance of Rectangle class%0A      // static method Classname.methodname()%0A      objectCount = Rectangle.getRectCount();%0A      System.out.println(objectCount + %0A                    %22 instances of the class were created.%22);%0A%0A%7D // main()%0A%7D // RectangleDemo%0A

create file