posted 19 years ago
Hi Friends...
I got a peculiar problem...
i have a directory c:\first in which i have placed A.java
i have a directory c:\second in which i have placed B.java
Here's the source:
and
A.java compiles fine
So far so good...
when i compile from B.java c:\second on the command prompt
i get the following error
C:\second>javac B.java
B.java:3: package first does not exist
import first.*;
^
B.java:5: cannot resolve symbol
symbol : class A
location: class second.B
class B extends A {}
^
2 errors
I dont know what mistake i am making...???
kindly explain me...