Java Switch Statement is now more Powerful Java 18

Java Switch Statement is now more Powerful | Java 18

Hey Tea Lovers! Today let me talk about the Plain Old Java Switch Expression, but with a twist. This twist or update has been added to the core library of Java since Java 13. And If you are using Java version 13 or after, you can surely convert that old switch with the new one. I will talk about how it offers certain features in it without breaking existing changes. Of course, the other language users may comment “It was already there in our programming language years ago”. But let’s just smile, and continue coding in Java, shall we? One note, I will be using the " switch expression" and " switch statement" interchangeably in the post, so keep it in mind that I am trying to say the same thing. ...

April 23, 2022 · 5 min · Imran Shaikh
Java 17 These 5 New Features Makes Java 17 Special

Java 17: These 5 New Features Make Java 17 Special

Hey, Tea Lovers! Java 17 is about to release in September 2021, so I thought now would be a great time to give you some updates on what is there in Java 17. I list down some key points about Java 17, that makes it special. This list is generated based on what I think will affect me on my project if I use Java 17. There are other features as well which are great and required for the enhancement of Java. I list them down at the end of the post to read them in more detail. Now let’s look at the features, shall we? ...

August 29, 2021 · 5 min · Imran Shaikh