Which Category Is The Void And Parameterless Function?
2022-05-29
In scala, functions are first class values. You can store function value, pass function as an argument and return function as a value from other function. You can create function by using def keyword. You must mention return type of parameters while defining function and return type of a functionRead More →