Recent articles

  • Java Local Variable Type Inference

    Java Local Variable Type Inference Java SE 10 introduced type inference for local variables. Previously, all local variable declarations required an…

  • Java Text Blocks

    Java Text Blocks Java text block is a multi-line string literal that avoids the need for most escape sequences, automatically formats…

  • Java Switch Expressions

    Java Switch Expressions Like all expressions, java switch expressions evaluate to a single value and can be used in statements. They may contain…

  • Java Record Classes

    Java Record Classes Java records classes; like an enum, a record is a restricted form of class. It declares its representation, and commits to…

  • Java Pattern Matching

    Java Pattern Matching Java Pattern matching involves testing whether an object has a particular structure, then extracting data from that object if…

Don't Miss It