Hi all,
Just starting Java, having problems with some exercises fom a book.
I've built a file that uses a class (called Person) found in another file, but get this message when trying to compile:
c:\Java\JavaFC\javac FirstExercise.java
FirstExercise.java:23: cannot resolve symbol
symbol : constructor Person ()
location : class Person
Person person1 = new Person();
^
1 error
c:\Java\JavaFC
I don't entirely understand what the problem is?
Just starting Java, having problems with some exercises fom a book.
I've built a file that uses a class (called Person) found in another file, but get this message when trying to compile:
c:\Java\JavaFC\javac FirstExercise.java
FirstExercise.java:23: cannot resolve symbol
symbol : constructor Person ()
location : class Person
Person person1 = new Person();
^
1 error
c:\Java\JavaFC
I don't entirely understand what the problem is?