Question: Java programming language read instructions carefully please public abstract class Shape // attributes private String color; private boolean filled; : @param color * @param filled
public abstract class Shape // attributes private String color; private boolean filled; : @param color * @param filled public Shape(String color, boolean filled) ( super(); this.color # color; this.filled = filled; public String getColorO ( public void setcolor (String color) f public boolean isfilled) ( public void setFilled(boolean filled) return color; this.color color: return filled; this.filled = filled; @override public String tostring) f return color color +" filled-" + filled public abstract double getArea(); public abstract double getPerimeter)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
