Win a copy of Mesos in Action this week in the Cloud/Virtualizaton 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: 48968
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try this:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic