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...3 min read·theman.hashnode.devDec 2, 2022
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...1 min read·theman.hashnode.devNov 24, 2022