Welcome to the Java Programming Forums

The professional, friendly Java community. 21,500 members and growing!

The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


Members have full access to the forums. Advertisements are removed for registered users.

1 Visitor Messages

  1. 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
Showing Visitor Messages 1 to 1 of 1
About ydandurkar

Basic Information

About ydandurkar
Java Skill Level:


Total Posts
Total Posts
Posts Per Day
Visitor Messages
Total Messages
Most Recent Message
April 30th, 2014 12:45 PM
Total Thanks
Total Thanks
  • Thanked 0 Times in 0 Posts
General Information
Last Activity
May 30th, 2014 11:34 AM
Join Date
April 15th, 2014