frnds i have been working in java for 10 months ...
still a basic question is irritating me .....
i have a simple code like this .....
c:\jdk1.3\bin\pack>
package pack;
public class one
{
public void disp()
{
System.out.println("Welcome");
}
}
An another files contain
c:\jdk1.3\bin\pack1>
package pack1;
import pack.one;
public class two
{
public static void main(String ar[])
{
one o = new one();
o.display();
}
}
c:\jdk1.3\bin\pack1>javac two.java
it display 4 Errors in stmt.....
1.Package does not exits----->package.pack
2. cannot resolve the symbol
3.cannot resolve the symbol
please help me...
and ..thanks