Why are the binary trees immutable?
The class BinaryTree is immutable. Is there an advantage to this?
The class BinaryTree is immutable. Is there an advantage to this?
Asked: 2 years ago
Seen: 68 times
Last updated: Jan 13 '23
They can be modified using the clone protocol.