In this chapter, we have explored the four main pillars of object-oriented programming—inheritance, encapsulation, polymorphism, and abstraction. We started with inheritance and its benefits in software development. We then discussed the different types of inheritance and their implementations. We also discussed the concept of overriding and encapsulation, and we learned that functional programming is not suitable for advanced application development. Then, we had a detailed discussion about abstraction and its advantages, and we looked at the concept of interfaces. In the next chapter, we will discuss some advanced concepts to do with classes that make the Kotlin language unique.
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Ukraine
Luxembourg
Estonia
Lithuania
South Korea
Turkey
Switzerland
Colombia
Taiwan
Chile
Norway
Ecuador
Indonesia
New Zealand
Cyprus
Denmark
Finland
Poland
Malta
Czechia
Austria
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Netherlands
Bulgaria
Latvia
South Africa
Malaysia
Japan
Slovakia
Philippines
Mexico
Thailand