Karan
January 14, 2023
110

# Learn Kotlin in 1 Day

January 14, 2023

## Transcript

2. ### Kotlin Team MAST Data Types Type Inference String Interpolation For

loop String, Array, Ranges Live Video Class - 1
3. ### Kotlin Team MAST Data Types Type Inference String Interpolation For

loop String, Array, Ranges Lecture -1
4. ### Kotlin Team MAST Control Flow when expressions if else for

loop while, do while loop Lecture -2
5. ### Kotlin Team MAST Control Flow when expressions if else for

loop while, do while loop Live Video Class - 2
6. ### Kotlin Team MAST Functions inline functions lambda functions Higher order

functions Live Video Class - 3
7. ### Kotlin Team MAST OOPs (i) classes and objects constructors data

classes Live Video Class - 4
8. ### Kotlin Team MAST OOPs (ii) interfaces abstract classes sealed class

Live Video Class - 5
9. ### Kotlin Team MAST Functions inline functions lambda functions Higher order

functions Lecture -3
10. ### Kotlin Team MAST OOPs (i) classes and objects constructors data

classes Lecture -4

Lecture -5

Class
13. ### Kotlin part 3 Team MAST Functions Inline Functions Lambda Functions

Higher Order Functions
14. ### Kotlin part 2 Team MAST Control Flow When Expressions If

Else For loop

Sealed Class
16. ### Video 1 – Data Types •Hello World Program •Kotlin Variables

•Type inference •String interpolation •Kotlin String •Kotlin Array •Kotlin Ranges Team MAST
17. ### Video 2 - Control Flow •Kotlin if else •Kotlin when

expression •Kotlin loops (for, foreach, while, do while) •Kotlin continue •Kotlin break Team MAST
18. ### Video 3 – Kotlin Functions •Kotlin functions •Kotlin inline functions

•Kotlin recursion and tail recursion •Lambda Functions •Higher order functions Team MAST
19. ### Higher Order Functions fun hello(name : String) { //.. body

} fun myFunction(name: String, myFunc: (String) -> Unit) { //…. body } Team MAST This parameter accepts a function type value This parameter accepts a String type value myFunction(“Joe”, ::hello)
20. ### Inline Functions fun hello(name : String) { //.. body }

Team MAST hello(“Joe”) hello(“Joe”) 2 bytes hello(“Phil”) hello(“Phil”) 2 bytes main() 3 bytes fun main() { }
21. ### Inline Functions fun hello(name : String) { println(“Name : \$name”)

} Team MAST main() 6 bytes hello(“Joe”) hello(“Phil”) fun main() { } RUN inline fun main() { println(“Name : Joe”) println(“Name : Phil”) }
22. ### Video 4 – Kotlin OOP (part 1) •Kotlin Class and

objects •Kotlin constructors •Kotlin data class •Kotlin visibility Modifiers Team MAST
23. ### Video 5 – Kotlin OOP (part 2) •Kotlin interfaces •Kotlin

abstract classes •Kotlin Sealed Class Team MAST