American Express interview question

How do you make a class immutable?