Java 7 to Java 17 | Evolution of Switch Expression | Interview QA | JavaTechie

preview_player
Показать описание
This tutorial we will discuss evolution of switch expression from java 7 to java 17 with an example

#javatechie #java17 #SwitchExpression

notes :

JDK 7 - : Integer
JDK 8 - : String , ENUM
JDK 12
break
arrow function
multiple values in case
JDK 13 - : break keyword replaced with yield keyword
JDK 14 - : preview features to permanet
JDK 17 (2021 sep)
pattern matching - : you can match pattern in case label (you can pass object to case)
Guarded pattern - : you can pass conditional statement inside case value
Null case - : you can pass null case

GitHub:

Blogs:

Facebook:

guys if you like this video please do subscribe now and press the bell icon to not miss any update from Java Techie

Disclaimer/Policy:
--------------------------------
Note : All uploaded content in this channel is mine and its not copied from any community ,
you are free to use source code from above mentioned GitHub account
Рекомендации по теме
Комментарии
Автор

Thank you for your informative video for Spring JWT and Switch case. It would be better if you post JDK 17 others features too.

ChhoteLalPrasadGupta-wl
Автор

Thank you Sir for the informative video. It would be better if you post JDK 17 features too.

nikhiljhawar
Автор

Awesome...! sir Very Informative Video.

AshishYadav-sedb
Автор

Thanks for the video, similar way to switch there too many changes in jvm memory it seems please try to make video on it

sudharargajala
Автор

Awesome video .Thanks for making this kind of videos. But from java7 switch statement is permitted to use String as well.

RaviShankar-xyzh
Автор

Hi Basant, thank you for this tutorial. Please do a tutorial on all jdk 17 features with example

srikanthdannarapu
Автор

I find your videos very understandable, can you add a new video related to Java 17 new features implementation

priyadarshiniswain
Автор

Please update us with all latest features of jdk 17 :)
Thank you for all these lectures

jithinmv
Автор

2:17 i think from jdk 7, we can use even String also. Pre jdk 7 only , integral type & enum we can .

anshupanda
Автор

Awesome...! Very Informative Video. Thanks for making this. There is any update in JDK 11 for Switch Expression?

kapilausarmal
Автор

Hi Basant please start videos on reactjs concepts and implementation and integration with spring boot

Srini
Автор

Kotlin has this kind of switch as when from its initial version itself.
Java is benchmarking good features from kotlin and introduced features like records, sealed classes etc., .

vengateshm
Автор

Can u do a video about spring boot with login through google mail login and Facebook login and login through sso with different protocols like azure, okta etc..

sairammanchala
Автор

It seems to me, a little bit poor style, create a switch with inner if, because you can create another switch with another if and so on. Let's use these feature in a wise way. It not that the feature is there we should use, in all cases, is good to know that exists.

thiago
Автор

Hi hello thank you for your effort, so how about k8s to deploy crud apps spring boot and database and angular thank you for advance

yacinedrissi
Автор

please add all videos of java 8 to java 17

amitddogras
Автор

It is already Java 17, but companies I work for are still stuck on Java 8 lol.

javier.alvarez