Learn free java10 tutorials

Java 10 documentation changes | summary tag

February 28, 2022 ·  3 min read

Learn the below changes to Javadoc in the java 10 version. summary tag guide with examples Javadoc tool changes for supporting multiple stylesheets Java 10 Javadoc summary tag java 10 introduced many language changes. It also introduced java documentation changes - {@summary} tag. The summary tag provides a single line sentence to tell what exactly that method or API going to do. This can be applied to methods or classes....

Java 10 Local variables Type Inference tutorials with examples

February 28, 2022 ·  6 min read

In this tutorial, Learn the Java 10 feature Local variables Type with examples. InferenceJDK Enhancement Proposal(JEP-286) is a new feature in Java 10 Contents What is Local variable type inference in java10? How compiler interprets var types? Basic Type inference example -var keyword Type safety with var example in java10 For Loop local variable type inference example in java10 For each local variable type inference example var variable inside the method and return value in java10 local variable for storing Ternary Operator result Declare a local variable for Streams local variable type Inference Compilation Errors Java 10 local variables interference Advantages Disadvantages Conclusion What is Local variable type inference in java10?...

Java10 – Time-Based Release Versioning | new version string format in java

February 28, 2022 ·  3 min read

java 10 New release feature This post is about how Java 10 introduced a new release pattern on time-based. It includes releases based on new features, updated releases, long term support of java and JDK present and future releases. JDK enhancement proposal number is JEP 322- time-based release new version schema. It allows end-users to make a decision based on the release whether to upgrade to the latest release or not....

Java10 Features - Unmodified Collection API changes

February 28, 2022 ·  3 min read

Java10 Collection API additions Java10 introduced API changes to java.util.List, java.util.Map, java.util.Set Added new static factory method - copyOf(collection) and returns unmodified collection - List,Set and Map in iteration order. This blog post, It covers the API library changes for Collections in Java10. Syntax and Signature static <E> List<E> copyOf​(Collection<? extends E> coll) static <K,V> Map<K,V> copyOf​(Map<? extends K,? extends V> map) static <E> Set<E> copyOf​(Collection<? extends E> coll) Unmodified Collection It is a collection of elements on which mutator methods like add/remove/update will not work as expected, throwing UnSupportedOperationException....

You'll get a notification every time a post gets published here.