Cognizant interview question

how do u implement immutability class concurrent programming