Video 1 – Data Types •Hello World Program •Kotlin Variables •Type inference •String interpolation •Kotlin String •Kotlin Array •Kotlin Ranges Team MAST
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)