Testing all of Levels of Access Modifiers Control
<p>I am implementing all the different types of access of methods and variables that vary in access. I have a package for each level of control containing the class with  the methods and variables, a subclass, and a class with main in it. I also have a main package with a class with main it it as well to test the access of the classes and its subclasses outside of its own package. I implemented this practice with the package containing the class with public methods and variables but have trouble with access of " From a subclass in the same package" and "From a subclass outside the package" ( which would be the main package containing the class with main mentioned prior ) My problem is this, how can I have the subclass be accessible from another package when it and its super class can't be public to allow it to be accessed by the main package?</p>
