State a module:
module |
The module
keyword is used to declare a module. After the keyword, the module’s name is specified, followed by braces that can contain directives describing the module.
Note: The module
keyword is intended for use in a module’s module-info.java
file.
The module
keyword was introduced in Java 9.