Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

cannot resolve symbol symbol : constructor Figure ()

  Asked By: Alex    Date: Jun 28    Category: Java    Views: 1226
  

Could anyone tell me what is wrong..?
I'm still a beginner, so any comments are welcomed.


codes in Figure.java :

package pbangun;

public abstract class Figure {

int color;
int center_position;

abstract void display ();
}



codes in file Point.java

import pbangun.*;

class display extends Figure {
void display() {
System.out.println ("Show Point");
}
}

class mainPoint {
public static void main (String args[]) {
System.out.println("Point's Main ");
}
}



Error message:

C:\pbangun>javac Point.java
Point.java:20: cannot resolve symbol
symbol : constructor Figure ()
location: class Figure
class display extends Figure {
^
1 error


Share: 

 

1 Answer Found

 
Answer #1    Answered By: Isaac Evans     Answered On: Jun 28

Can u give me the complete code of Point.java

 
Didn't find what you were looking for? Find more on cannot resolve symbol symbol : constructor Figure () Or get search suggestion and latest updates.




Tagged: