hi to all,
i am facing the following error while accessing methods of another class.
Error
B.java:7: cannot access A
bad class file: .\A.java
file does not contain class A
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
A a=new A();
^
1 error
my program code
i compiled A.java with the 'javac -d . A.java and B.java with javac B.java
While compiling B.java i am getting the above error.
Please can any one tell how to resolve my problem.
Waiting for your valuable replys.
Regards,
Narasimha Raju.Naidu