| In Java and Scala which one is pure OOP language?
When everything should be an object in programming language it is called as pure Object-Oriented language. Java is not pure OOP language due to below two non-oop concepts
(i)Java supports primitive data types and they are not objects
(ii)Java also supports static members which are not allowed to objects.
On the other hand Scala is pure OOP Languagebecause everthing in scala is an object and everything is a value. Functions are also values and values are objects. Because scala does not have primitive data types and also not have static members like Java have. | | |