News

Method references: A primer. My previous Java 101 tutorial introduced lambda expressions, which are used to define anonymous methods that can then be treated as instances of a functional interface.
How to use method references in Java. May 22, 2025 17 mins. how-to. How to handle type erasure in advanced Java generics. Mar 6, 2025 16 mins. how-to. Advanced programming with Java generics.
To steer clear of any confusion or controversy with Java naming conventions, having a dash in a variable, method or reference type in Java is not recommended. Dot notation for package names The ...
There is a reason why Java method modifiers exist. If you call public methods internally and don't understand why, your ... issue I've come across when addressing the Java method modifier issue ...