Question: can object have constructor in scala?
Answer: My understanding is that object is the way in Scala for singleton pattern. ... Object in Scala cannot have auxiliary constructor, so I don't have a good way to do this only use Object.