Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

packaging

 
Ramm Kummar
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How to import a class from other package in to the current java class of the different directory. The two directories are linked to the same same directory.

i.e. Directory A and B are subdirectories of C which is again sub-directory of the D.
if the classes in B are packaged using package D.C.B;, how to call this package classes in the A directory?
 
Campbell Ritchie
Sheriff
Pie
Posts: 49442
62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic