News

Learn about the new Java 10 "var" type, and experiment using JShell with this hands-on tutorial on how to reduce boilerplate code using new type inference for local variables.
Now we’ll take a closer look. Type erasure is when the Java compiler, at compile-time, removes all generic type information in the code after it has been checked for type correctness.