Category: Uncategorized

  • The evolution of Switch Statement up-to Java 14

    Switch expressions in java are used to evaluate results or compute logic based on different values of a particular variable.This post looks at the evolution of switch statements up-to Java 14. Until Java 7 only integers could be used in switch case and this had been the standard for a long time: And then strings…