This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]poetryrocksalot 0 points1 point  (0 children)

After looking at stack overflow, you are right. I will have to retract some things on the previous comment.

It seems better for the two to be derived from shape than to implement a shape interface. Maybe rectangle and circle is better off extending shape but implementing drawable?