Question OOP-ENC-0051
MediumAn immutable class Money has private final fields and no setters. How does it support 'adding' money?
- A.
add() returns a new Money object with the sum
- B.
add() changes a static field
- C.
Sign up free to see the answer and a step-by-step explanation.