Delete comment from: Javarevisited
Is it require that immutable class must have Private constructor? I think no. As String in immutable class and we can create as many objects of it. But still in interviews people are asking why and why not to create the private constructor? Please help me to resolve my query.
Aug 19, 2013, 1:18:14 AM
Posted to How to create Immutable Class and Object in Java - Tutorial Example