Scala is a statically typed programming language, whereas Java is a multi-platform, network-centric programming language. Scala is a mixture of both object oriented and functional programming. Java is a general purpose object oriented language.
Input (Editable)
Result