Hi,

I have got a problem in Exercise 2 in Lab-1003,  after adding a class
to a different package. The error is as follows:

C:\myjavaprograms>javac studentpackage\*.java
studentpackage\StudentRecord.java:3: package anotherpackage does not
exist
import anotherpackage.*;
^
studentpackage\StudentRecord.java:18: cannot resolve symbol
symbol  : class DummyClass
location: class studentpackage.StudentRecord
        DummyClass dummy = new DummyClass();
        ^
studentpackage\StudentRecord.java:18: cannot resolve symbol
symbol  : class DummyClass
location: class studentpackage.StudentRecord
        DummyClass dummy = new DummyClass();
                               ^
3 errors


i have created the package structure as said even though the err
occured..

could some one please do guide..

Thanks,
Sha

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to javaprogrammingwithpassion@googlegroups.com
To unsubscribe from this group, send email to 
javaprogrammingwithpassion-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to