What is difference between mutable and immutable?

preview_player
Показать описание
What is difference between mutable and immutable?
Dec 2, 2017

Immutable objects are simply objects whose state (the objects data) cannot change after construction. Examples of immutable objects from the JDK include String and Integer. Mutable objects have fields that can be changed, immutable objects have no fields that can be changed after the object is created.

··········

“Be competent, be more skilful than others. Here you will find the answer to all of your questions.”

✋ The purpose of our channel is to create EDUCATIONAL content. That was our intention with this video as well. We would like to give you COMPLETE INFORMATION on the subject, so unfortunately we can also discuss elements that may be hurtful to people.
Рекомендации по теме
Комментарии
Автор

*⚡ Do you have any other questions? Write your comment as a reply, like this:*
“QUESTION: What’s the creepiest tech out there?”

TechWHYS