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
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia