Scala Class Example