Created
March 14, 2020 06:33
-
-
Save AditChauhan/e525db37ca4ebe75455324eb5088b714 to your computer and use it in GitHub Desktop.
SealedExample
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
sealed class Time{ | |
class Past : A() | |
class Present : A() | |
class Future : A() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment