News

How to use Java generics to avoid ClassCastExceptions. Oct 10, 2024 23 mins. how-to. Exception handling in Java: Advanced features and types. Sep 19, 2024 23 mins. how-to.
Why use typesafe enums, not enumerated types. An enumerated type specifies a set of related constants as its values. Examples include the days in a week, the standard north/south/east/west compass ...
Java and JShell. Java 9 introduced JShell, a read-evaluate-print and loop (REPL) tool that greatly simplifies Java development. However, despite the great utility JShell provides to Java devs, it has ...
Learn what a predicate interface is and how to use it in Java. Find out how to create your own custom predicate interface and combine it with other predicates.