Create immutable object, instantiated without new

Viewed 2010

Can I create a class that instantiates with just the = operator, like the String class does? Or is that a feature specific to String class in Java?

3 Answers
Related