import acm.graphics.*;
import acm.program.*;
import acm.util.*;
public class RandomCirlcles extends GraphicsProgram {
GOval cir = new GOval(100.0,100.0,100.0,100.0);
add( cir );
}
I am getting an error when i try to add "cir" to the canvas. The error says "Invalid Method Declaration; return type requested." Also, it says, "cannot find symbol 'class cir'." I am not sure why I am getting this error.


Sign In
Create Account


Back to top









