August 2018
Beginner
178 pages
4h 56m
English
The do-while loop is similar to while, the difference is that the do-while loop will always enter the statement, unlike the while loop which might never execute the loop if the while statement is false on start.
do { println("This will be printed only once") } while (false)
Read now
Unlock full access