Pattern Matching in instanceof
Bye Bye Explicit casts
Dec 1, 20212 min read15

Search for a command to run...
Series
Introduction on new features that was finalized between Java11 and Java17.
Bye Bye Explicit casts

Switches in Java lacked an option to match a value based on an expression that is computed at runtime(similar to C). So the values against which a value can be matched should be constant known at compile time. Below is the current format of switch th...

Polymorph a step better

Immutable data carriers
