Category: Kotlin
-
Overview
- Kotlin Programming Language (Introduction)
- Advantages of Kotlin
- Applications of Kotlin
- Basic Kotlin Example
Basic Concepts
- Data Types
- Variables
- Operators
- Standard Input/Output
- Type Conversion
- Expression, Statement and Block
Control Statements
- if-else expression
- while loop
- do-while loop
- when expression
- Unlabelled break
- labelled continue
Array & String
- Kotlin Array
- Kotlin String
Functions
- Default and Named argument
- Recursion
- Tail Recursion
- Lambdas
- Expressions and Anonymous Functions
- Inline Functions
- Higher-Order Functions
Collections
- ArrayList
- listOf()
- HashMap
Class and Objects
- Classes and Object
- Nested Class and Inner Class
- Setters and Getters
- Class Properties and Custom Accessors
- Constructor
- Modifiers
- Inheritance
- Interfaces
- Sealed Classes
- Enum Classes
- Extension
- Functions
- Generics
Null Safety
- Type Checking and Smart Casting
- Explicit type casting
Regex & Ranges
- Regular Expression
- Ranges
Miscellaneous
- Kotlin Annotations
- Overview
- Kotlin Reflection
- Operator
- Overloading
- Destructuring
- Declarations in Kotlin
- Equality evaluation
- Comparator
- Triple
- Pair
- apply vs with