Implement the base class in the shoe hierarchy in number 8 above.
What will be an ideal response?
```
public class Shoe
{
private String color;
private String designer;
private double size;
public Shoe()
{
color = "";
designer = "";
size = 0;
}
public Shoe(String c, String d, double s)
{
setColor(c);
setDesigner(d);
setSize(s);
}
public void setColor(String c)
{
color = c;
}
public void setDesigner(String d)
{
designer = d;
}
public void setSize(double s)
{
if(s > 0)
size = s;
}
public String getColor()
{
return color;
}
public String getDesigner()
{
return designer;
}
public double getSize()
{
return size;
}
}
```
You might also like to view...
All of the following are types of Solver reports EXCEPT:
A) Solver Sensitivity report B) Solver Statistical report C) Solver Population report D) Solver Limits report
What is a change control policy?
What will be an ideal response?