How to create your own immutable class?
AnswerBot
1y
Creating an immutable class involves making the class and its fields final and not providing any setters.
Make the class final so it cannot be extended
Make all fields final so they cannot be changed
Do ...read more
Help your peers!
Add answer anonymously...
Top IBM Senior System Analyst interview questions & answers
Popular interview questions of Senior System Analyst
Top HR questions asked in IBM Senior System Analyst
Stay ahead in your career. Get AmbitionBox app
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+
Reviews
4 L+
Interviews
4 Cr+
Salaries
1 Cr+
Users/Month
Contribute to help millions
Get AmbitionBox app