Spoken Tutorial

Switch Case - English

Java Tutorials - English 38
  • 1
    Getting started java Installation
  • 2
    First Java Program
  • 3
    Installing Eclipse
  • 4
    Getting started Eclipse
  • 5
    Hello World Program in Eclipse
  • 6
    Errors and Debugging in Eclipse
  • 7
    Programming features Eclipse
  • 8
    Numerical Datatypes
  • 9
    Arithmetic Operations
  • 10
    Strings
  • 11
    Primitive type conversions
  • 12
    Relational Operations
  • 13
    Logical Operations
  • 14
    if else
  • 15
    Nested if
  • Switch Case
  • 17
    while loop
  • 18
    For Loop
  • 19
    do while
  • 20
    Introduction to Array
  • 21
    Array Operations
  • 22
    Creating class
  • 23
    Creating object
  • 24
    Instance fields
  • 25
    Methods
  • 26
    Default constructor
  • 27
    Parameterized constructors
  • 28
    Using this keyword
  • 29
    Non static block
  • 30
    Constructor overloading
  • 31
    Method overloading
  • 32
    User Input
  • 33
    Subclassing and Method Overriding
  • 34
    Calling methods of the superclass
  • 35
    Using final keyword
  • 36
    Polymorphism
  • 37
    Abstract Classes
  • 38
    Java Interfaces
  1. Instruction Sheet
  2. Installation Sheet
Outline:
switch statement define switch case statement compare switch and nested if switch case syntax working of a switch case statement use of keyword switch valid and invalid use of keyword case use of keyword default use of keyword break program to demonstrate switch case statement save, compile and run the program to check the output

Assignment

Status:

Code files

  • code/
  • code/SwitchCaseDemo.java

Status:

Slides

  • slides/
  • slides/talentsprint-logo1.jpg
  • slides/3t-logo.pdf
  • slides/switch-case-slide.pdf
  • slides/switch-case.tex

Status:

  • FOSSEE Project
  • Scilab Project
  • Oscad
  • Python
  • CFD
  • OR-Project
  • Aakash Labs
  • Co-learn
  • Education Mission
  • Software Training
  • Creation
  • News
  • About
  • Training
Developed at IIT Bombay
This work is licensed under Creative Commons