Answers for "kotlin object oriented concept"

2

kotlin oop

val people = People()

people.name = "John"
people.surname = "Lennon"
people.age = 56

println(people.name)   // outs John
println(people.surname)   // outs Lennon
println(people.age)  	// outs 56
Posted by: Guest on July-17-2021

Code answers related to "kotlin object oriented concept"

Browse Popular Code Answers by Language