Nonencapsulated Packages


A nonencapsulated package is a package declared without the prefix encapsulated. Also large encapsulated packages, containing protected declarations, can be internally structured into nonencapsulated packages.

In the example below, the encapsulated package Blocks has been internally structured into three nonencapsulated packages Interfaces, Continuous, and Examples that all can access the protected type MySecret.