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 |
What are red-black trees?
What are the applications of linked list?
Mention a few applications of linked lists?
Define root?
What are the properties of an algorithm?
How will you sort the elements of array in descending order?
Is array a data structure?
What do you mean by shortest path?
What are the Differences between map and hashmap?
What is difference between while and do while?
Does arraylist maintain order?
What are the goals of data structure?