Introduction

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Heads up... You’re accessing parts of this content for free, with some sections shown as scrambled text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this lesson, you’ll continue exploring Kotlin classes. Specifically, you’ll look at class properties in more detail. In the previous lesson, you used class properties to showcase class manipulation. They’re crucial to the whole “class” idea - the properties grouped together under a common name. By the end of a lesson, you’ll be able to:

  • Describe the purpose of a property.
  • Identify how to create custom setters and getters.
  • Explain the concept of access modifiers.

A class without properties is like a birthday without a cake :]

See forum comments
Download course materials from Github
Previous: Quiz: Define Classes Next: Instruction