About This Book "Kotlin Programming" is a textbook for high school and college students; it covers all essential Kotlin language knowledge . You can learn complete primary skills of Kotlin programming fast and easily . The textbook includes a lot of practical examples for beginners and includes exercises for the college final exam, the engineer certification exam, and the job interview exam . "Kotlin Programming" is a useful textbook for beginners . The straightforward definitions, the plain examples, the elaborate explanations and the neat layout feature this helpful and educative book . You will be impressed by its distinctive and tidy writing style . Reading this book is a great enjoyment!
Note This book is only suitable for Kotlin programming beginners, high school students and college students; it is not for the experienced Kotlin programmers .
Source Code Available This book provides source code for reference; you can reference the source code for better study, or copy the source code to your favorite editor to test the programs.
Table of Content
Hour 1 What is Kotlin? Install JDK Install the IDE
Hour 2 Comment Kotlin Output Variables Data Type Data Type Conversion Escape Sequences
Hour 3 Arithmetical Operators Comparison Operators Assignment Operators Monadic Operator Logical Operators Package The Value of Variable Kotlin Input Range
Hour 4 If-else Statement When Statement For Loop While Loop Do-While Loop Break Statement Break@Identifier Continue Statement Continue@Identifier
Hour 5 Array Array Assignment Array Accessment Other Type Arrays Array Size Array Default Values Iterate Through Array (1) Iterate Through Array (2)
Hour 6 String Raw String String Length String Access String Template String Functions String Functions Example Two String Values $ Symbol The Last Index
Hour 7 Function Default Parameters Pass Parameters Recursive Function Lambda Function High Order Function Lambda & H . O . Function (1) Lambda & H . O . Function (2) Inline Function
Hour 8 Class Object Class & Object Constructor (1) Constructor (2) Inheritance
Appendix 1 Abstract Class Interface Access Modifiers List Map Set