Greetings. I am having a compilation problem resulting from unrecognized packages. I am trying to run a small example found in a
SCJP mock exam. The following classes are in 2 separate files...
package p1;
public class Super {
protected void say ( String s ) {
System.out.println ( s ) ;
}
} package p1;
public class SubOne extends Super { } I get the following when compiling SubOne.java :
SubOne.java:3: cannot resolve symbol
symbol : class Super
location: class p1.SubOne
public class SubOne extends Super { }
^
1 error (the carrot should be under the "S" in Super, not the "p" in public)
I believe the problem is outside of the code, but I'm not sure what...
Thanks.
Sean
[ February 03, 2006: Message edited by: Sean O'Donnell ]