“When a singleton object shares the same name with a class, it is called that class's companion object. You must define both the class and its companion object in the same source file. The class is called the companion class of the singleton object. A class and its companion object can access each other's private members.”
―
Programming in Scala
Share this quote:
Friends Who Liked This Quote
To see what your friends thought of this quote, please sign up!
0 likes
All Members Who Liked This Quote
None yet!
This Quote Is From
Browse By Tag
- love (101344)
- life (79362)
- inspirational (75841)
- humor (44338)
- philosophy (30964)
- inspirational-quotes (28889)
- god (26865)
- truth (24739)
- wisdom (24617)
- romance (24350)
- poetry (23293)
- life-lessons (22585)
- quotes (21011)
- death (20532)
- travel (20076)
- happiness (19002)
- hope (18526)
- faith (18384)
- inspiration (17297)
- spirituality (15702)
- relationships (15530)
- religion (15375)
- motivational (15323)
- life-quotes (15301)
- love-quotes (15138)
- writing (14938)
- success (14185)
- motivation (13177)
- time (12864)
- motivational-quotes (12154)

