Kotlin for Beginners

Ravi Sahu

In this eBook, you will discover what Kotlin is, why it is such a well-liked programming language, how it compares to Java, and how to install the IDE to get started with your first program and explore the basics of Kotlin. Your code can be made a lot more legible and concise, which can astound you.

  • Published on Apr 24 2023
  • Pages 45
  • Downloaded 2.1k
  • Type PDF
Download
    • Like
    • Love It
    • Awesome
    • Interesting
    • It's Okay
    • Thumbs Down
  • 8k
  • 0
In this eBook, you will discover what Kotlin is, why it is such a well-liked programming language, how it compares to Java, and how to install the IDE to get started with your first program and explore the basics of Kotlin. Your code can be made a lot more legible and concise, which can astound you.
 

What you'll learn

  • About Kotlin
  • Why Kotlin is popular
  • Kotlin vs Java
  • How to work with the Kotlin REPL (Read-Eval-Print Loop) interactive shell
  • The basic syntax of Kotlin code
  • Kotlin's data types, operators, and variables
  • How Booleans and conditions work in Kotlin
  • Working with nullable and non-nullable variables
  • Arrays, lists, and loops in Kotlin. 
 

Table of Contents

 
Chapter 1. Get started
    • What is Kotlin
    • Why Kotlin is so popular?
    • Kotlin vs Java
    • Questions
Chapter 2. Setting up the development environment
    • Install the Java Development Kit (JDK)
    • Install IntelliJ IDEA
Chapter 3. Writing your first Kotlin Program
    • Creating a new Kotlin project
    • Writing a "Hello, World!" program
    • Running the program
    • Questions
Chapter 4 Basic syntax
    • Variable
    • Operators
    • Types
    • Conditions and Boolean
    • Nullability
    • Examine List, Array, and Loops
      • List
      • Array
      • Loops
    • Questions