Developers, do this to make your Immutable classes unbreakable! #immutable #java

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Nice but I have one doubt what will happen when your class is not holding the reference kind data they're holding list<String>or integer or object type then what about ur opinion for that to make ur class immutable 😊😂❤

roshanmaurya
Автор

Can anything be done in the constructor itself rather than the getter?

ajeshaj