Question: Make an abstract class called Shape. The private attribute is shapeName of type String. It must include constructors (default and parameter), the services (getters and
Make an abstract class called Shape. The private attribute is shapeName of type String. It must include constructors (default and parameter), the services (getters and setters). It will also have an abstract method of type int called calcArea().
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
