Skip to content

Instantly share code, notes, and snippets.

@cassiozen
Created November 29, 2018 00:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cassiozen/52ecc4ca48d772ff3c80745a71148b71 to your computer and use it in GitHub Desktop.
Save cassiozen/52ecc4ca48d772ff3c80745a71148b71 to your computer and use it in GitHub Desktop.
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