In this chapter, we will take advantage of one of the new features added to Java 9 to allow us to modularize the source code and easily manage dependencies. We will:
Refactor existing code to take advantage of object-oriented programming
Organize object-oriented code with the new modularity in Java 9
Create modular source code in Java 9
Compile multiple modules with the Java 9 compiler
Run modularized code with Java 9