Declare a method called getSideCount in the Shape interface that returns the number of sides that the

Question:

Declare a method called getSideCount in the Shape interface that returns the number of sides that the shape has. Implement the method in all shape classes. A circle is defined to have 0 sides.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: