By Read-only class we are referring to the "IMMUTABLE" concept. You can begin by defining a class so that no methods can cause changes to the internal state.

In such classes, aliasing will have no impact because its internal state is read-only.

Suggest An Answer

No suggestions avaliable!