Oracle Corporation has introduced several new features in Java.
Oracle Corporation has provided a brief overview of the new features in Java that will be coming in the near future. The news is intriguing. On March 18, Oracle announced five features that are being prepared for the upcoming release of Java, as reported by https://xrust.ru/. Here’s everything listed below: enhanced primitive packaging is used to support language improvements. This implies reference types. Additionally, primitive types will be supported as type arguments. value class types with nullability restrictions allow for the exclusion of variable types that hold null value objects, leading to more compact storage and other runtime optimizations. value classes and objects expand the Java platform with value objects that are instances of classes containing only final fields and lacking an object identity. the creation of derived records extends the language’s capabilities by allowing the creation of new records from existing ones. stable values are objects that contain immutable data. Since stable values are treated as constants by the JVM, they enable the same performance optimizations that are activated by declaring a field as final.
https://xrust.ru/news/310943-korporacija-oracle-predstavila-neskolko-novyh-funkcij-v-java.html