01 January 2012

create constant object in Java

I've wondered if I can create a constant object in Java? I don't mean a constant reference (which achieved by final keyword) or a class whose all of its instances are constants (a.k.a immutable objects).

I've asked a question in SO and got a staisified answers ..
Please have a look
Post a Comment