All I have is the Shapes.java file, then four others called AnObject.class, ACircle.class, ACircle$ARectangle.class, and ACircle$ATriangle.class on their own.
Type: Posts; User: Scorks
All I have is the Shapes.java file, then four others called AnObject.class, ACircle.class, ACircle$ARectangle.class, and ACircle$ATriangle.class on their own.
public class ATriangle extends AnObject {
double Side1;
double Side2;
double Side3;
//No parameter constructor
public ATriangle() {
double Side1;
I did that, and now I'm getting the same problem, except now it happens with ARectangle aswell.
That's the problem! When I try to look for ATriangle.class, all that comes up is ACircle$ATriangle.class and ARectangle$ATriangle.class, but none are just ATriangle.class ...
Hi! I've just finished writing a program, and I keep getting an error stating
Shapes.java:308: cannot find symbol
symbol : class ATriangle
location: class Shapes
ATriangle ATriangle = new...