Homework 2: Simple Kotlin
Due April 5
Last updated
Due April 5
Last updated
var stringRepresentation: String
get() = this.toString()
set(value) {
setDataFromString(value) // parses the string and assigns values to other properties
}