Beginner Kotlin
Q32 / 100

What is a property in Kotlin?

Correct! Well done.

Incorrect.

The correct answer is B) A class field with optional custom getter and setter

B

Correct Answer

A class field with optional custom getter and setter

Explanation

Kotlin properties replace Java fields + getter/setter patterns. You can customize access with get() and set(value) blocks.

Progress
32/100