Why is tuple immutable?



Why is tuple immutable?..

Answer / Jaggi Lal

Tuples are immutable because once created, their elements cannot be changed. This property offers several advantages such as improved performance and thread-safety.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Structures Interview Questions

What are red-black trees?

1 Answers  


What are the applications of linked list?

1 Answers  


Mention a few applications of linked lists?

1 Answers  


Define root?

1 Answers  


What are the properties of an algorithm?

1 Answers  


How will you sort the elements of array in descending order?

1 Answers   Wipro,


Is array a data structure?

1 Answers  


What do you mean by shortest path?

1 Answers  


What are the Differences between map and hashmap?

1 Answers  


What is difference between while and do while?

1 Answers  


Does arraylist maintain order?

1 Answers  


What are the goals of data structure?

1 Answers  


Categories