Immutable Object: An immutable object is the opposite of a mutable object. Once an immutable object is created, its state cannot be changed.
Attribute: An attribute refers to a characteristic or property of an object. It represents the data associated with the object.
Method:A method is a set of instructions that defines what actions an object can perform. It represents the behavior of an object.