COMPILE ERROR "cannot find symbol"
807598Oct 24 2006 — edited Oct 24 2006Hi,
I am pretty new at java however i know this error is wrong in one sense. My java file works fine at school however when i get home and compile it i get this message:
C:\Documents and Settings\Michelle\My Documents\My Documents\Kingston University\Programme Essentials\Assignment\Assignment Lab 5\PairTest.java:9: cannot find symbol
symbol : class Pair
location: class PairTest
Pair stuartsPair = new Pair(100,20);
^
C:\Documents and Settings\Michelle\My Documents\My Documents\Kingston University\Programme Essentials\Assignment\Assignment Lab 5\PairTest.java:9: cannot find symbol
symbol : class Pair
location: class PairTest
Pair stuartsPair = new Pair(100,20);
^
2 errors
Tool completed with exit code 1
________________________________________________________
iv'e got the two java files and class files in the same folder.
so i was woundering why does this message appear?
thanks alot