Friday 8 December 2017

Kotlin: Control flow statements

Kotlin provides control flow statements
     for decision making (if, if-else, when) and
     for looping (for, while, do-while)

Decision Making statements
a.   if statement
b.   if-else statement
c.   if-else if-else ladder
d.   when statement

Looping statements
a.   for
b.   while
c.   do-while


Previous                                                 Next                                                 Home

No comments:

Post a Comment