The Home Depot interview question

what is immutable object? Can you give an example?

Interview Answer

Anonymous

4 Apr 2023

the object is called immutable because we cannot add new information without creating a new instance. for e.g, String