Folks, my wotking directory is C:\java
All my programs are held in sub-directories inside this folder.
For ther code listed below, I created a folder called MyPack, ie
c:\java\MyPack
The code below:-
Gives me the following error when I compile it:-
AccountBalance.java": Package C:\Java\MyPack\AccountBalance.java stated in source MyPack does not match directory C:\Java\MyPack\AccountBalance.java. at line 2, column 9
Can anybody explain why?
AccountBalance.java is in the directory structire c:\java\MyPack
Any help is appreciated. Thanks in advance