Summary

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. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.15.154