Currently browsing

Page 114


Traits in Scala

Java doesn’t allow multiple inheritance for the fear of Deadly Diamond of Death. And to circumvent this Java introduced interfaces where in …


Package Objects in Scala

Package Objects in Scala was introduced as part of Scala 2.8. With this feature a package in scala can contain field declarations, …

Pin It on Pinterest