Skip to content

Instantly share code, notes, and snippets.

@Concers
Last active January 12, 2021 13:15
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 Concers/8a10f9cb62c4b6e5ed92fb99d187fc7a to your computer and use it in GitHub Desktop.
Save Concers/8a10f9cb62c4b6e5ed92fb99d187fc7a to your computer and use it in GitHub Desktop.
class FavoriteAuthor(){
var name: String? = null
var lastname: String? = null
}
fun main(){
val favoriteauthor = FavoriteAuthor()
favoriteauthor.name = "Franz"
favoriteauthor.lastname = "Kafka"
println("Favorite Author ${favoriteauthor.name} ${favoriteauthor.lastname}")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment