Created
May 6, 2020 18:03
-
-
Save Pavneet-Sing/660cf05468d776cc34903cfbacc56b8a 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
// Simple kotlin class without data keyword | |
class Person{ | |
lateinit var name: String | |
var occupation: String? = null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment