SCALA Collection..-------- ARRAY----------- collection of homogenious data. 0 based index serching is efficirnt adding data at is not efficient bcoz it has fixed size defined initially scala> val a = Array(1, 2, 23, 23) a: Array[Int] = Array(1, 2, 23, 23) scala...Dec 2, 2022 · 3 min readtheman.hashnode.dev
Higher Order Function..higher order function or def function including function----------- the function which has input parameter as function.. or return function as output is Called Higher Order Function. scala> def Transform(x: Int, f(x): Int => Int) = {f(x)} <co...Nov 24, 2022 · 1 min readtheman.hashnode.dev