Читать книгу Programming Kotlin Applications - Бретт Мак-Лахлин, Brett McLaughlin - Страница 42

INITIALIZE AN OBJECT AND CHANGE A VARIABLE

Оглавление

Suppose you want to play around a bit with your Person class. Try this out: update your code to match Listing 1.6 (some of this may be confusing, but you can probably figure out most of what's going on).

Programming Kotlin Applications

Подняться наверх