I have the following code for my java class assignment but i am
having an issue with this error i keep getting.
On the following lines:
return new Circle(color, radius);
return new Rectangle(color, length, width);
I am getting the following error for each line:
"non-static variable this cannot be referenced from a static
context"
Here is the code I have:
/*
* ShapeDemo - simple inheritance hierarchy and dynamic
binding.
*
* The Shape class must be compiled before the...