Section II: Introduction to Objects

Objects are the foundation for numerous modern languages, including Kotlin.

In an object-oriented (OO) programming language, you think about “nouns” in the problem you’re solving, and translate those nouns to objects, which hold data and perform actions. An object-oriented language is oriented towards creating and using objects.

Kotlin isn’t just object-oriented; it’s also functional. In a functional language, you think about “verbs,” the actions you want to perform, rather than objects that hold data and perform transformations on that data.

This section explains the basics of object-oriented programming. Section IV: Functional Programming introduces functional programming and Section V: Object-Oriented Programming covers object-oriented programming in detail.

Previous          Next

©2018 Mindview LLC. All Rights Reserved.