Search:

Type: Posts; User: Scorks

Search: Search took 0.06 seconds.

  1. Replies
    8
    Views
    1,384

    Re: Where is my .class?

    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.
  2. Replies
    8
    Views
    1,384

    Re: Where is my .class?

    public class ATriangle extends AnObject {

    double Side1;
    double Side2;
    double Side3;

    //No parameter constructor

    public ATriangle() {
    double Side1;
  3. Replies
    8
    Views
    1,384

    Re: Where is my .class?

    I did that, and now I'm getting the same problem, except now it happens with ARectangle aswell.
  4. Replies
    8
    Views
    1,384

    Re: Where is my .class?

    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 ...
  5. Replies
    8
    Views
    1,384

    Where is my .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...
Results 1 to 5 of 5