Created
March 14, 2020 06:36
-
-
Save AditChauhan/caa0d39612a169a07c4988ac798eba8d to your computer and use it in GitHub Desktop.
SealedError
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
fun main(args: Array<String>) | |
{ | |
var whatTime = Time() //compiler error. Class Time cannot be instantiated. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment