About
Classes in Scala are:
- very similar to classes in Java.
- are templates containing fields and methods. Like in Java, classes can be instantiated using the new construct, there can be many “instances” (or “objects”) of the same class.
Articles Related
Properties
Classes in Scala cannot have static members. You can use objects to achieve similar functionalities as with static members in Java.
Special kind of class: classes
In Scala there exists a special kind of class named case classes.
Signature
See Scala - Type