I create an object of the class
Rectangle rec = new Rectangle(2,4);
Which gives my rectangle and height of 2 and a width of 4.
But is there anyway I can call the no arg constructor later on in my code without creating a new object?
without doing this:
Rectangle rec2 = new Rectangle();