How immutability achieved by classes other than String
AnswerBot
9mo
Immutability can be achieved by classes through using final keyword, returning new instances in methods, and using defensive copying.
Use final keyword to make class variables immutable
Return new insta...read more
Help your peers!
Add answer anonymously...
Top Birlasoft Technical Specialist interview questions & answers
Popular interview questions of Technical Specialist
Top HR questions asked in Birlasoft Technical Specialist
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