Control flows are the basic building block of every programming language. What's different in Kotlin is that you can use a few of those control flows as an expression, such as try-catch, if-else, when, and so on. In this chapter, we will go through some of the control flows offered by Kotlin and learn to use them. Furthermore, we will also see how they provide much more power than Java control flows. So let's get started!
United States
United Kingdom
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Argentina
Austria
Belgium
Bulgaria
Chile
Colombia
Cyprus
Czechia
Denmark
Ecuador
Egypt
Estonia
Finland
Greece
Hungary
Indonesia
Ireland
Italy
Japan
Latvia
Lithuania
Luxembourg
Malaysia
Malta
Mexico
Netherlands
New Zealand
Norway
Philippines
Poland
Portugal
Romania
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
Ukraine