Skip to content

Instantly share code, notes, and snippets.

@soudmaijer
Created April 8, 2021 20:33
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 soudmaijer/0b6d263a53321c866373b271e4e13a31 to your computer and use it in GitHub Desktop.
Save soudmaijer/0b6d263a53321c866373b271e4e13a31 to your computer and use it in GitHub Desktop.
class Product(val ean: String, val title: String)
class Book(val publisher: String, val author: String)
fun main() {
val book = Book(
ean = "9781617293290",
title = "Kotlin in Action",
publisher = "Manning",
author = "Dmitry Jemerov, Svetlana Isakova"
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment