How to design this folllowing structure in Java?
<p>I have an interface named <code>SHAPE</code>. <code>CIRCLE</code> and <code>RECTANGLE</code> are two classes implementing this interface. Now I have to write a class (i have an option to write a class only) <code>CIRCULARRECTANGLE</code> which will extend the properties of <code>CIRCLE</code> and <code>RECTANGLE</code>. How to do this in Java ?</p>
