LEARN KOTLIN QUICKLY: CODING FOR BEGINNERS - KOTLIN PROGRAMMING LANGUAGE, A QuickStart eBook, Tutorial Book with Hands-On Projects, In Easy Steps! An Ultimate Beginner's Guide!
This book specifically written for beginners. This book serves as a teaching guide and also a reference manual to accompany you through this wonderful world of programming. We take you step-by-step through writing your very first program, explaining each portion of code as we go along. The book includes practical examples for beginners.
TABLE OF CONTENTS Introduction to Kotlin Install Kotlin Installing Kotlin in command line mode Hello World program Define variables in Kotlin Data types in Kotlin nullable types Numbers Characters Convert character to Int Booleans Strings String template expressions Arrays Define array of nulls Define array using factory function Print array elements Bit wise operators Logical Operators Control flow statements if statement if-else statement if-else if-else when expression Using when as if-else if ladder Use When as expression for loop while, do-while loops break statement continue statement classes and objects Declaring properties getters & setters to properties Define member functions of class Compile time constants const vs val lateinit : Late initialized properties Constructors Secondary Constructors Passing default values to primary constructor Define private primary constructor How to create Object Inheritance Overriding methods Overriding properties Calling super class methods Nested classes Inner classes Interfaces Overriding conflict while implementing interfaces Object Expressions Define singleton objects Companion Objects Anonymous Inner class Abstract classes functions Call functions using parameter names Function default arguments unit (or) void functions