Skip to content
My Media
My Playlists
My History
Login
Add New
Media Upload
My Media
My Playlists
My History
Login
Cornell University
Cornell University
Home
Channels
My Media
Help
Home
Channels
My Media
Help
Lesson 21.6 Immutable Attributes
From
Hannah Lee
views
Related Media
Details
Back
Getters and setters have another advantage in that they allow us to completely disable to any changes to an attribute. This allows us to separate attributes into mutable and immutable attributes, just like we saw in Assignment 4.
Tags