Skip to content

Instantly share code, notes, and snippets.

Last active Jan 12, 2021
What would you like to do?
class FavoriteAuthor(){
var name: String? = null
var lastname: String? = null
fun main(){
val favoriteauthor = FavoriteAuthor() = "Franz"
favoriteauthor.lastname = "Kafka"
println("Favorite Author ${} ${favoriteauthor.lastname}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment