Читать книгу Programming Kotlin Applications - Бретт Мак-Лахлин, Brett McLaughlin - Страница 57
KOTLIN HAS A LARGE NUMBER OF TYPES
ОглавлениеLike any programming language, Kotlin supports lots of basic data types. You can define integers ( Int
), sequences of letters ( String
), decimal numbers ( Float
), and a lot more. Let's take a blazing-fast run through the basic types and then start putting them to use.