Java switch expression — differences from switch statement.

Published: 13 August 2021
on channel: Kovalevskyi Academy
1,566
60

This is a short cheat sheet about switches in Java.

Timings:
00:00 Intro
00:10 When did switch expressions appear in Java?
00:21 Switch statement example
00:57 What is a Java switch expression?
01:25 Switch statement vs. switch expression
02:27 Features of switch expressions
03:33 Lambda in switch
04:41 Switch & check style
05:16 Link to the spec: https://github.com/Kovalevskyi-Academ...

Link to the repo with examples from the video: https://github.com/Kovalevskyi-Academ...

Our social media:

• Academy Discord: https://bit.ly/2K6XQQ2
• VK - https://vk.com/kovacademy
• FB -   / kovalevskyi  
• Twitter -   / kovacademy  
• YouTube -    / kovalevskyiacademy  
• LinkedIn -   / 5119016  
• Patreon -   / b0noi  
• Web site - http://kovalevskyi.academy/


On this page of the site you can watch the video online Java switch expression — differences from switch statement. with a duration of hours minute second in good quality, which was uploaded by the user Kovalevskyi Academy 13 August 2021, share the link with friends and acquaintances, this video has already been watched 1,566 times on youtube and it was liked by 60 viewers. Enjoy your viewing!