Slide 1

Slide 1 text

Learn Kotlin Team MAST In 1 Day

Slide 2

Slide 2 text

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

Slide 3

Slide 3 text

Kotlin Team MAST Data Types Type Inference String Interpolation For loop String, Array, Ranges Lecture -1

Slide 4

Slide 4 text

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

Slide 5

Slide 5 text

Kotlin Team MAST Control Flow when expressions if else for loop while, do while loop Live Video Class - 2

Slide 6

Slide 6 text

Kotlin Team MAST Functions inline functions lambda functions Higher order functions Live Video Class - 3

Slide 7

Slide 7 text

Kotlin Team MAST OOPs (i) classes and objects constructors data classes Live Video Class - 4

Slide 8

Slide 8 text

Kotlin Team MAST OOPs (ii) interfaces abstract classes sealed class Live Video Class - 5

Slide 9

Slide 9 text

Kotlin Team MAST Functions inline functions lambda functions Higher order functions Lecture -3

Slide 10

Slide 10 text

Kotlin Team MAST OOPs (i) classes and objects constructors data classes Lecture -4

Slide 11

Slide 11 text

Kotlin Team MAST OOPs (ii) interfaces abstract classes sealed class Lecture -5

Slide 12

Slide 12 text

Kotlin part 4 Team MAST OOPs (i) Constructors Classes Data Class

Slide 13

Slide 13 text

Kotlin part 3 Team MAST Functions Inline Functions Lambda Functions Higher Order Functions

Slide 14

Slide 14 text

Kotlin part 2 Team MAST Control Flow When Expressions If Else For loop

Slide 15

Slide 15 text

Kotlin part 5 Team MAST OOPs (ii) Interfaces Abstract Class Sealed Class

Slide 16

Slide 16 text

Video 1 – Data Types •Hello World Program •Kotlin Variables •Type inference •String interpolation •Kotlin String •Kotlin Array •Kotlin Ranges Team MAST

Slide 17

Slide 17 text

Video 2 - Control Flow •Kotlin if else •Kotlin when expression •Kotlin loops (for, foreach, while, do while) •Kotlin continue •Kotlin break Team MAST

Slide 18

Slide 18 text

Video 3 – Kotlin Functions •Kotlin functions •Kotlin inline functions •Kotlin recursion and tail recursion •Lambda Functions •Higher order functions Team MAST

Slide 19

Slide 19 text

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)

Slide 20

Slide 20 text

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() { }

Slide 21

Slide 21 text

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”) }

Slide 22

Slide 22 text

Video 4 – Kotlin OOP (part 1) •Kotlin Class and objects •Kotlin constructors •Kotlin data class •Kotlin visibility Modifiers Team MAST

Slide 23

Slide 23 text

Video 5 – Kotlin OOP (part 2) •Kotlin interfaces •Kotlin abstract classes •Kotlin Sealed Class Team MAST