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

  Рет қаралды 11,631

Java Techie

Java Techie

2 жыл бұрын

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:
github.com/Java-Techie-jt
Blogs:
/ the-evolution-of-switc...
Facebook:
/ 919464521471923
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

Пікірлер: 42
@nikhiljhawar4612
@nikhiljhawar4612 2 жыл бұрын
Thank you Sir for the informative video. It would be better if you post JDK 17 features too.
@Javatechie
@Javatechie 2 жыл бұрын
Thanks I will do
@user-qs4gs4kn5i
@user-qs4gs4kn5i 7 ай бұрын
Thank you for your informative video for Spring JWT and Switch case. It would be better if you post JDK 17 others features too.
@sivasankarbestha
@sivasankarbestha 2 жыл бұрын
Very nice explanation.. Thanks 👍
@mayankbisht7079
@mayankbisht7079 2 жыл бұрын
Good one. Thanks !
@pratishrutipanda6461
@pratishrutipanda6461 2 жыл бұрын
Awesome contents
@AshishYadav-se4db
@AshishYadav-se4db 2 жыл бұрын
Awesome...! sir Very Informative Video.
@Javatechie
@Javatechie 2 жыл бұрын
Thanks buddy 😊
@amuthanselva9607
@amuthanselva9607 8 ай бұрын
Awesome
@sudharargajala4958
@sudharargajala4958 2 жыл бұрын
Thanks for the video, similar way to switch there too many changes in jvm memory it seems please try to make video on it
@RaviShankar-xy6zh
@RaviShankar-xy6zh 2 жыл бұрын
Awesome video .Thanks for making this kind of videos. But from java7 switch statement is permitted to use String as well.
@sumanthmuttuvalli4931
@sumanthmuttuvalli4931 29 күн бұрын
Thank You
@priyadarshiniswain9902
@priyadarshiniswain9902 2 ай бұрын
I find your videos very understandable, can you add a new video related to Java 17 new features implementation
@jithinmv6516
@jithinmv6516 2 жыл бұрын
Please update us with all latest features of jdk 17 :) Thank you for all these lectures
@Javatechie
@Javatechie 2 жыл бұрын
Sure buddy
@srikanthdannarapu6678
@srikanthdannarapu6678 2 жыл бұрын
Hi Basant, thank you for this tutorial. Please do a tutorial on all jdk 17 features with example
@Javatechie
@Javatechie 2 жыл бұрын
Hi Sri will do that
@srikanthdannarapu6678
@srikanthdannarapu6678 2 жыл бұрын
@@Javatechie thank you
@vengateshm2122
@vengateshm2122 2 жыл бұрын
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.,.
@anshupanda2149
@anshupanda2149 2 жыл бұрын
2:17 i think from jdk 7 , we can use even String also. Pre jdk 7 only , integral type & enum we can .
@Javatechie
@Javatechie 2 жыл бұрын
JDK 8 string switch case introduced as per oracle page . I will cross verify and update
@anshupanda2149
@anshupanda2149 2 жыл бұрын
@@Javatechie sure sir
@nikhiljhawar4612
@nikhiljhawar4612 2 жыл бұрын
Yes, you're right. It was introduced in Java 7 release
@RaviShankar-xy6zh
@RaviShankar-xy6zh 2 жыл бұрын
Yes from java7 string can be used with switch .no doubt in that..
@kapilausarmal6300
@kapilausarmal6300 2 жыл бұрын
Awesome...! Very Informative Video. Thanks for making this. There is any update in JDK 11 for Switch Expression?
@Javatechie
@Javatechie 2 жыл бұрын
No changes has been made in jdk 11
@kapilausarmal6300
@kapilausarmal6300 2 жыл бұрын
@@Javatechie Thank you so much for update.
@thiago670
@thiago670 2 жыл бұрын
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.
@Srini8174
@Srini8174 2 жыл бұрын
Hi Basant please start videos on reactjs concepts and implementation and integration with spring boot
@Javatechie
@Javatechie 2 жыл бұрын
I will start that after one more k8s video (Jenkins cicd kuhernetes).
@amitddogras4635
@amitddogras4635 2 жыл бұрын
please add all videos of java 8 to java 17
@shareefshaik-ri2ky
@shareefshaik-ri2ky 6 ай бұрын
Please add java 17 features
@jitendraaddepalli
@jitendraaddepalli 2 жыл бұрын
We want more java17 features videos
@Javatechie
@Javatechie 2 жыл бұрын
Yes I will release that on this weekend
@sairammanchala40
@sairammanchala40 2 жыл бұрын
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..
@Javatechie
@Javatechie 2 жыл бұрын
Login With Facebook , google, GitHub and okta videos already there in my spring cloud security playlist video please check once
@yacinedrissi8811
@yacinedrissi8811 2 жыл бұрын
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
@Javatechie
@Javatechie 2 жыл бұрын
Will release this weekend
@javier.alvarez764
@javier.alvarez764 2 жыл бұрын
It is already Java 17, but companies I work for are still stuck on Java 8 lol.
@Javatechie
@Javatechie 2 жыл бұрын
Not only you maximum company using jdk 8 only .
@ShinAkuma
@ShinAkuma 2 жыл бұрын
Basically everything you will ever need to do in a real time project, you can do using Java 8 or Java 11 at most. Oracle made it mandatory to release a new update every 6 months, that's why there are so many Java versions. It's not practical to keep updating your source code to have the newest version when it's not even needed.
@amitmathur14
@amitmathur14 2 жыл бұрын
Awesome
لااا! هذه البرتقالة مزعجة جدًا #قصير
00:15
One More Arabic
Рет қаралды 14 МЛН
لقد سرقت حلوى القطن بشكل خفي لأصنع مصاصة🤫😎
00:33
Cool Tool SHORTS Arabic
Рет қаралды 28 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 8 МЛН
What's new in Java Switch | Switch Statement and Expression
11:09
Modern Java - Top Features of Java 9 to 17
20:19
Kamil Brzezinski
Рет қаралды 90 М.
Top 25 Microservice Interview Questions Answered - Java Brains
39:54
SOLID Design Principles in java with Example | JavaTechie
34:44
Java Techie
Рет қаралды 182 М.
Java 21 API New Features #RoadTo21
16:48
Java
Рет қаралды 39 М.
Java 8 to 18: Most important changes in the Java Platform
31:24
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 7 МЛН
Это - iPhone 16!
16:29
Rozetked
Рет қаралды 419 М.
Nokia 3310 top
0:20
YT 𝒯𝒾𝓂𝓉𝒾𝓀
Рет қаралды 4,2 МЛН