Banner_Ads

Interview Question-Answers | Tutorial For Beginners


tech4allsa2z:This blog provides you tutorial and most common Interview questions for beginners related to the following technology like java, python.

Top 10 Differences between java8 and java9



 Top 10 Differences Between Java8 and Java9 

Feature

Java 8

Java 9

Modularization

No module system

Introduced the Java Platform Module System (JPMS)

JShell

Not available

Introduced a REPL (Read-Eval-Print Loop) tool called JShell

Multi-release JARs

Not available

Introduced the ability to include multiple versions of a class in a JAR file

Collections API improvements

Added the Stream API, default methods in interfaces, and other improvements to the Collections API

Added convenience factory methods for creating immutable lists, sets, and maps

Private interface methods

Not available

Introduced the ability to declare private methods in interfaces

Deprecated and removed features

Several features were deprecated but not removed

Deprecated several features and removed some, such as the Applet API

HTTP/2 support

Not available

Added support for the HTTP/2 protocol

Process API improvements

Limited process control through the Process and Process Builder classes

Added new classes and methods for more comprehensive process management

Try-with-resources improvements

Added support for multiple resources in a single try statement

Added the ability to declare a resource outside of the try-with-resources statement

Performance improvements

Some performance improvements, particularly in the Stream API

Significant performance improvements in the JVM, including better garbage collection and JIT compilation

Post a Comment

0 Comments