0 votes
in Scala Constructs by
Why “Static” keyword not used in Scala?

1 Answer

0 votes
by

The Scala team has not decided to use a "static" keyword as part of their design. This decision was taken primarily to make Scala a Pure Object-Oriented Language. Using the "static" keyword, we can even access class members without creating or using an object. This is totally against the OOP principles. For instance, Java does not qualify as a pure OO language since it supports the "static" keyword. 

...