
Switch Statements + Nested Case in Java
Kunal Kushwaha · 596,1 N lượt xem · 7 thg 8, 2021
Mô tả
In this video, we cover switch statements. We go over the old and the newer syntax, nested switch cases, break statements with examples.
Take part in the learning in public initiative! Share your learnings on LinkedIn and Twitter with #DSAwithKunal & don't forget to tag us!
👉 Resources
Join Replit: http://join.replit.com/kunal-kushwaha
Complete Java DSA playlist: • Java + DSA + Interview Preparation Course
Code, Assignments, & Notes: https://github.com/kunal-kushwaha/DSA...
➡️ Connect with me: http://kunalkushwaha.com
=========================================
Timestamps:
0:00 Introduction
0:57 Example
2:40 "==" vs ".equals"
6:49 Switch Statements
6:56 Syntax for "Switch Statements"
8:08 Some Notes for "Switch Statements"
9:00 Program 1 : Describe Fruit
13:38 Enhanced 'Switch'
15:18 Program 2 : Display Day Name b/w 1 & 7
17:47 Program 3 : Weekdays and Weekends
19:37 Nested Switch Case
25:02 Outro
#switch #placement #dsa #interviews