Skip to main content

One doc tagged with "final"

View all tags

Immutability - final and Defensive Copies

Immutability is a core concept in object-oriented programming, particularly important in Java, which refers to the state of an object remaining unchanged after it has been created. An immutable object is one whose internal state cannot be modified once it has been fully constructed.