Type Erasure in Java Generics
Understand how Java generics disappear at compile time, what erasure does to your types, and the implications for your code.
Understand how Java generics disappear at compile time, what erasure does to your types, and the implications for your code.
Master java.util.function: Predicate, Function, Supplier, Consumer, and their binary/triple variants for functional-style Java.
Explore java.util.Objects: null-safe utilities like requireNonNull, deepEquals, toString, hash, and compare for defensive Java code.
Learn java.util.Optional: the null wrapper that makes absence explicit. Master map, flatMap, filter, orElse, and common anti-patterns.
Local, instance, and class-level variable scope in Java — where variables live, how long they persist, and what can access them.
Master Java variable declaration with var, final, and static final. Learn about scope, initialization, and when to use each modifier.
Learn Java while and do-while loops: pre-test vs post-test iteration, infinite loops, loop termination strategies, and when to choose each loop type.
Use ?, ? extends T, and ? super T to master covariance and contravariance in Java method parameters.
Master Java wrapper classes: Integer, Double, Boolean and more — immutable wrappers that add utility methods and null support to primitives.
Clarify the distinction between JDK, JRE, and JVM — the three pillars of Java development and runtime environments.