Java Module System


Introduced in Java 9, the module system helps to encapsulate Java applications and libraries, promoting strong encapsulation and explicit dependencies.

Source Code

module com.example.myapp {
    requires java.sql;
    exports com.example.myapp;
}
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments