my working directory is e:\ajava. in package p1 i create two classes c1 and c2. net beans creates three files e:\ajava\p1\src\p1, e:\ajava\p1\src\c1, e:\ajava\p1\src\c2. package runs without a hitch. i create another package p2 under e:\ajava. i want to use class c1 in p2. pray what on earth should be my import statement in the p2 source code after the first statement 'package p2'. another related querry what should i include in my class path so as to gain access to c1 and c2 in source code of p2. thanks in advance. ydandurkar