Java module 关键字
示例
声明一个模块
module mymodule {
}
定义和用法
The module
keyword is used to declare a module. Following the keyword is the name of the module and braces which can contain directives describing the module.
注意: The module
keyword is meant to be used in the module-info.java file of a module.
The module
keyword was new in Java 9.