it won't run because the line u told me to add before is showing errors: "cir = new Circle();" in the Shape class if u look above
Type: Posts; User: easports
it won't run because the line u told me to add before is showing errors: "cir = new Circle();" in the Shape class if u look above
ok now what
I added that part you told me to add to Nov4 but when I add the other part to the Shape class it's giving me error on the line "cir = new Circle();" in the Shape class. How to fix this problem?
...
Yes of course, as long as the main idea of the program is kept.
The idea is I want to be able to call the individual objects .toString method to display all the info of the circle information...
But I want to override the toString method and use it to display the info I am trying to display above, can you help me with that?
Hey there,
For some reason when I run this code my output isn't what I want it to be.
Can you please tell me how to fix it or what I can make better to make this code work and output the...