Last active
August 7, 2020 06:26
-
-
Save husen-hn/267d9decdff056d403fee5cff957c82d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Space{ | |
var squares = 24 | |
var triangles = 23 | |
val all: Int | |
get() { | |
return squares + triangles | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment