what do we mean exactly when we say “ints are immutable”


New Member
I'm confused on the concept of "being immutable". Our professor is saying "ints are immutable! Strings are immutable" everyday, what does he mean by that exactly?A more general question, how do we know if a data structure is immutable or not?Thanks