Posted By:
Manish_Patel
Posted On:
Wednesday, May 2, 2001 03:42 AM
i create one simple program using 6 .java files. i call constractor of one prg. in the other program. i save all the files in one folder. when i compile all the 6 prg together on command line using java *.java it works well but when i individually compile each prg which call the other prg constroctor at that time it gives error suppose i compile a.java in which i call constroctor of prg b.java(i use jkd 1.3) in prg a... .... .... b bOjbect=new b(); ... ... the error is ... cannot resolve symbol symbol: class b location : class a b bOjbect=new b(); ^ cannot resolve symbol symbol: class b
More>>
i create one simple program using 6 .java files.
i call constractor of one prg. in the other program.
i save all the files in one folder.
when i compile all the 6 prg together on command line
using java *.java it works well but when i individually
compile each prg which call the other prg constroctor
at that time it gives error
suppose i compile a.java in which i call constroctor of
prg b.java(i use jkd 1.3)
in prg a...
....
....
b bOjbect=new b();
...
...
the error is ...
cannot resolve symbol
symbol: class b
location : class a
b bOjbect=new b();
^
cannot resolve symbol
symbol: class b
location : class a
b bOjbect=new b();
^
so why when i compile together it wount give error and
compile individually it give error like above?
hope so....!
reply me soon
manish nakrani
e-mail: nakrani_m@yahoo.com
<<Less