i'm currently using the
textpad ide
all my java files are in
one folder
i use java *1.4.2_16*
and these are the codes:
Main.java:
public class Main {
public static void main(String[] args) {
HelloWorld hw = new HelloWorld();
}
}
HelloWorld.java:
public class HelloWorld {
public HelloWorld() {
}
public void disp() {
System.out.println("Testing");
}
}
the errors:
C:\Documents and Settings\Administrator\Desktop\test\Main.java:4: cannot resolve symbol
symbol : class HelloWorld
location: class Main
HelloWorld hw = new HelloWorld();
^
C:\Documents and Settings\Administrator\Desktop\test\Main.java:4: cannot resolve symbol
symbol : class HelloWorld
location: class Main
HelloWorld hw = new HelloWorld();
^
2 errors
help please
thanks! :)