How can you retrieve the value of the property codeName without referring to it by name or destructuring?kotlindata class Project(var codeName: String, var version: String)fun main(){ val proj = Project('Chilli Pepper', '2.1.0')}

🎲 Try a Random Question  |  Total Questions in Quiz: 83  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
Kotlin Quiz — practice the complete quiz, review flashcards, or try a random question.

Kotlin MCQs For LinkedIn Skill Assessments.


How can you retrieve the value of the property codeName without referring to it by name or destructuring?<br>kotlin<br>data class Project(var codeName: String, var version: String)<br>fun main(){<br> val proj = Project('Chilli Pepper', '2.1.0')<br>}<br>