Apple interview question

Q. How to make a class immutable.