How to import package withing package

Sunday, May 11, 2014

I have a package named "smartApp" which further contains a TDA.java file and a sub package named "Crawler" . I am trying to access a .java file (defined in crawler package) in TDA.java.I also import Crawler package in TDA.java file as "import Crawler.*;" but it says "error: package Crawler does not exist" .


My hierarchy is as follows: SmartApp-->TDA.java , Crawler -->ABC.java







http://ift.tt/1jflIWw