Kotlin and Android Practice Test 2025 – Complete Exam Prep Guide Flash Cards

Question: 1 / 400

How do you define a data class in Kotlin?

?

By using the `data class` declaration followed by the class constructor

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy