Created
September 25, 2017 09:50
-
-
Save fbcbl/508ca04a3c38440c8351d484a3e68a76 to your computer and use it in GitHub Desktop.
Kotlin Testing Pt 1 Classes Open
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
open class User( | |
private val firstName: String, | |
private val lastName: String) { | |
open fun fullName(): String = "$firstName $lastName" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment