This page contains the list of Kotlin programs and examples. You can practice these programs/examples to learn Kotlin in-depth.
Kotlin is an open-source statically typed programming language that targets the JVM, Android, JavaScript, and Native. It’s developed by JetBrains.
The Kotlin programs and examples in this page targets the JVM (Java). You need Java installed to run these Kotlin programs/examples.
Kotlin Programs
- Kotlin Program to Check Leap Year
- Kotlin Program to Find the Largest of Three Numbers
- Kotlin Program to Check Whether an Alphabet is Vowel or Consonant
- Kotlin Program to Check Even or Odd Number
- Kotlin Program to Swap Two Numbers Without Using Temporary Variable
- Kotlin Program to Swap Two Numbers
- Kotlin Program to Add Two Integers
Kotlin Examples
- Kotlin- Create Class Example
- Kotlin - for Loop Examples
- Kotlin - while and do-while loop example
- Kotlin - if statement example
- Kotlin - Nested if Statement Example
- Kotlin - if-else Statement Example
- Kotlin - if-else-if Statement Example
- Kotlin - when Expression Example
- Kotlin - break and continue Keyword Example
- Kotlin - Nested Class Example
- Kotlin - Inner Class Example
- Kotlin - Inheritance Example
- Kotlin - Abstract Class Example
- Kotlin Interface Example
- Kotlin Interfaces Inheritance Example
- Kotlin - Enum Class Example
- Kotlin - Enum Class Implementing Interfaces Example
- kotlin - Data Class Example
- Kotlin - Array Initialization Example
- Kotlin Array Basic Operations
- Kotlin - Sorting Arrays Example
- Kotlin - Two-Dimensional Arrays Example
- Kotlin - Find Array Elements Example
Free Spring Boot Tutorial - 5 Hours Full Course
Watch this course on YouTube at Spring Boot Tutorial | Fee 5 Hours Full Course