0% found this document useful (0 votes)
64 views1 page

Flow Control

The document discusses different types of flow control statements in Java including selection statements like if-else and switch statements, iterative statements like while, do-while and for loops, and transfer statements like break, continue, labeled break and continue statements. It provides an agenda with explanations of case summaries, fall-through behavior in switches, default cases, unreachable statements, and differences between iterators and iterables.

Uploaded by

ROHIT JAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views1 page

Flow Control

The document discusses different types of flow control statements in Java including selection statements like if-else and switch statements, iterative statements like while, do-while and for loops, and transfer statements like break, continue, labeled break and continue statements. It provides an agenda with explanations of case summaries, fall-through behavior in switches, default cases, unreachable statements, and differences between iterators and iterables.

Uploaded by

ROHIT JAIN
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

JAVA Means DURGA SIR

Flow Control

Agenda :

1. Introduction
2. Selection statements
i. if-else
ii. Switch
 Case Summary
 fall-through inside a switch
 default case
3. Iterative Statements
i. While loop
 Unreachable statement in while
ii. Do-while
 Unreachable statement in do while
iii. For Loop
 Initilizationsection
 Conditional check
 Increment and decrement section
 Unreachable statement in for loop
iv. For each
 Iterator Vs Iterable(1.5v)
 Difference between Iterable and Iterator
4. Transfer statements
o Break statement
o Continue statement
o Labeled break and continue statements
o Do-while vs continue (The most dangerous combination)

nd
DURGASOFT, # 202,2 Floor,HUDA Maitrivanam,Ameerpet, Hyderabad - 500038,
86  040 – 64 51 27 86, 80 96 96 96 96, 9246212143 | www.durgasoft.com

You might also like