The Home Depot interview question

what is immutable object? Can you give an example?

Interview Answer

Anonymous

Apr 4, 2023

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