Created
November 29, 2018 00:30
-
-
Save cassiozen/52ecc4ca48d772ff3c80745a71148b71 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
data class Movie( | |
val name: String, | |
val rating: Int, | |
val director: String | |
) | |
val movie1 = Movie("Back to the Future", 5, "Bob Zemeckis") | |
val movie1 = Movie("Star Wars: Episode IV - A New Hope", 5, "George Lucas") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment