The functional programming of Scala is also possible in java 8 with lambda expressions. Why is scala used when same results can be achieved by Java 8 functional programming?
thanks
Scala predates Java 8, so there was a lot of Scala in use before Java ever had these capabilities. But Scala does way more than lambda expressions, so using Java 8 is not a full substitute.