Java, Java8, Java21, Java17, Migration.
exported packages and public types of those modules. exports: Specifies which packages are accessible to other modules. Exported packages define the module's public API. opens: Allows reflective access to a package. This is used when you want to grant runtime access to a package's private members