Java SE 11
Java SE 11 is the latest version of the Java Standard Edition platform, which is widely used for developing a variety of applications, including enterprise software, web applications, and mobile apps. Java SE 11 offers a number of new features and enhancements, including:
New Features in Java SE 11
Some of the key new features introduced in Java SE 11 include:
- Local-Variable Type Inference (Var): Allows you to declare local variables without specifying their type, as the compiler can infer the type based on the assigned value.
- Nest-Based Access Control: Provides more granular control over access to nested classes and methods.
- String Concatenation with JShell: Simplifies string concatenation by providing a more convenient syntax.
- JShell Enhancements: Improves the interactive Java shell with features like multiline editing and tab completion.
- GraalVM Native Image Support: Enables compilation of Java applications into native executables for improved performance.
In addition to these new features, Java SE 11 also includes a number of improvements to existing features, including: