Do you want BuboFlash to help you learning these things? Or do you want to add or correct something? Click here to log in or create user.



#inner-classes #scala
In Scala it is possible to let classes have other classes as members. Opposed to Java-like languages where such inner classes are members of the enclosing class, in Scala such inner classes are bound to the outer object.
If you want to change selection, open document below and click on "Move attachment"

Inner Classes - Scala Documentation
<span>In Scala it is possible to let classes have other classes as members. Opposed to Java-like languages where such inner classes are members of the enclosing class, in Scala such inner classes are bound to the outer object. To illustrate the difference, we quickly sketch the implementation of a graph datatype: class Graph { class Node { var connectedNodes: List[Node] = Nil def connectTo(node: Nod


Summary

statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Details



Discussion

Do you want to join discussion? Click here to log in or create user.