Created
July 19, 2020 09:51
-
-
Save sasssass/9b19bf8b126268f7da2699a4f146f381 to your computer and use it in GitHub Desktop.
Computer.kt
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
enum class OSType{WIN , LIN , MAC} | |
data class OS(var name : OSType) | |
data class Computer(var os : OS , var ram : Int) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment