scala vs java

Solutions on MaxInterview for scala vs java by the best coders in the world

showing results for - "scala vs java"
Greta
23 Feb 2018
1Scala is a statically typed programming language whereas Java is a multi-platform, network-centric, programming language.
2Scala uses an actor model for supporting modern concurrency whereas Java uses the conventional thread-based model for concurrency.
3Scala variables are by default immutable type while Java variables are by default mutable type.
4Scala supports lazy evaluation while Java doesn’t support lazy evaluation.
5Scala doesn’t contain static members whereas Java contains static members.
6Scala supports operator overloading whereas Java doesn’t support operator overloading.
7Scala doesn’t offer backward compatibility whereas Java offers backward compatibility.
8Scala is less readable because of nested code whereas Java is more readable.
9Scala frameworks are Play, Lift whereas Java frameworks are Spring, Grails, and many more.