Java 10

Share

Java 10

Java 10 is one of the versions in Oracle’s Java SE Development Kit (JDK) release cycle. Java 10 introduced several new features and enhancements, although it is no longer receiving updates or long-term support from Oracle. Here are some of the notable features and changes introduced in Java 10:

  1. Local Variable Type Inference (var): Java 10 introduced the var keyword, allowing you to declare local variables with type inference. This feature simplifies variable declarations, making the code more concise and readable.

    Example:

    java
    var list = new ArrayList<String>(); // Infers the type ArrayList<String>
  2. Garbage Collector Interface: Java 10 introduced a new garbage collector interface called “Garbage-Collector Interface.” It allowed developers to create their custom garbage collectors.

  3. Thread-Local Handshakes: This feature introduced the concept of thread-local handshakes, which improved the efficiency of garbage collection by reducing stop-the-world pauses.

  4. Application Class-Data Sharing: The “Application Class-Data Sharing” feature allowed you to create shared classes in the form of an archive (.jsa file) to improve the startup time of Java applications.

  5. Experimental JIT Compiler: Java 10 introduced an experimental Just-In-Time (JIT) compiler known as the “Ahead-of-Time (AOT) Compiler” as an experimental feature. It allowed developers to compile Java code ahead of time to native code for improved startup performance.

  6. Enhanced Docker Support: Java 10 included enhancements to improve compatibility with containerized environments like Docker, such as improved understanding of CPU and memory resources.

  7. Remove Deprecated Features: Java 10 removed several deprecated features and APIs, including the Applet API and SecurityManager deprecations.

It’s important to note that Java 10 was a feature release and did not receive long-term support. Oracle’s official support for Java 10 ended shortly after its release. For long-term support and security updates, it is recommended to use a long-term support (LTS) version of Java, such as Java 8, Java 11, or a more recent LTS released.

Demo Day 1 Video:

 
You can find more information about Java in this Java Docs Link

 

Conclusion:

Unogeeks is the No.1 Training Institute for Java Training. Anyone Disagree? Please drop in a comment

You can check out our other latest blogs on Java Training here – Java Blogs

You can check out our Best in Class Java Training details here – Java Training

💬 Follow & Connect with us:

———————————-

For Training inquiries:

Call/Whatsapp: +91 73960 33555

Mail us at: info@unogeeks.com

Our Website ➜ https://unogeeks.com

Follow us:

Instagram: https://www.instagram.com/unogeeks

Facebook: https://www.facebook.com/UnogeeksSoftwareTrainingInstitute

Twitter: https://twitter.com/unogeeks


Share

Leave a Reply

Your email address will not be published. Required fields are marked *