Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Switch Statements and Nested Case in Java

Kunal Kushwaha via YouTube

Overview

Coursera Plus Monthly Sale: All Certificates & Courses 40% Off!
Explore switch statements in Java, covering both traditional and modern syntax, nested switch cases, and break statements through practical examples. Learn the differences between "==" and ".equals", understand switch statement syntax and usage notes, and practice with programs describing fruits, displaying day names, and categorizing weekdays and weekends. Dive into nested switch cases and enhance your Java programming skills with this comprehensive tutorial.

Syllabus

Introduction ‌‍‍‍‌‌‍‍ ‌‍‍‌‌‌‌‍ ‌‍‍‌‍‍‌‍ ‌‍‍‌‍‌‍‌ ‌‍‍‌‍‍‍‌ ‌‌‍‍‌‌‌‌ ‌‌‍‍‍‌‌‌
Example
"==" vs ".equals"
Switch Statements
Syntax for "Switch Statements"
Some Notes for "Switch Statements"
Program 1 : Describe Fruit
Enhanced 'Switch'
Program 2 : Display Day Name b/w 1 & 7
Program 3 : Weekdays and Weekends
Nested Switch Case
Outro

Taught by

Kunal Kushwaha

Reviews

Start your review of Switch Statements and Nested Case in Java

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.