Packages




Introduction



Context: Java Classes and Interfaces


What is a Package?


Example Package


Definition: Client of a Package




Files and Compilations



Packages and Files


Packages: Normal Compilation


Gnatmake is Smart





Basic Syntax and Semantics



Package Specification and Body


Spec and Body Consistency


Visibility of Package to Client


Package Visibility Between Spec and Body


Package Visibility






With and Use and Packages



With and Use


More on Use


with vs import vs include





Files and Compilations - Continued



More on Compiling Packages


Compiling Package Specs and Bodies Independently


Compiling Client and Package Specs Without Body


Compilation and Linking