Java 9 version introduces new enhancements and adds new features. It includes JShell, Http2Client, Java Platform Module System (JPMS), multi-version jar files, >Stack Walking API , Private methods in interfaces , Process API updates , Collection API updates , Stream API improvements etc.
Here are some differences between Java 8 and Java 9
<strong>Packages - Types (classes, enums, interfaces, etc) - Code - Data - Resources - xml - images - properties</strong>
<strong>Modules (Resources, Module Descriptor)</strong> <strong> - Packages - Types (classes, enums, interfaces, etc) - Code - Data - Resources - xml - images - properties</strong>
The above is the detailed content of What is the difference between Java 8 and Java 9?. For more information, please follow other related articles on the PHP Chinese website!