Spoken Tutorial

Nested if - 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
  • Nested if
  • 16
    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:
Outline *explain nested if *nested if syntax *program to demonstrate nested if *explain the control flow of the program *explain ternary operator *syntax for ternary operator *explain the syntax *program to demonstrate ternary operator *comparison between ternary operator and nested if *save, compile and run the program

Assignment

Status:

Code files

  • code/
  • code/NestedIfDemo.java

Status:

Slides

  • slides/
  • slides/3t-logo.pdf
  • slides/talentsprint-logo1.jpg
  • slides/nested-ifandternary-slide.pdf
  • slides/Nested-ifandternary-slide.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