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?
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2023-01-13 02:15:12 +0100
Seen: 63 times
Last updated: Jan 13 '23
They can be modified using the clone protocol.