Bounteous x Accolite interview question

3. How to make class immutable and why we need to make string variables inside immutable class as final even string is already immutable