What changes, taken together, would make the Tree class immutable? (Choose three.) A. Make all constructors private.

Question:

What changes, taken together, would make the Tree class immutable? (Choose three.) 

image text in transcribed

A. Make all constructors private.

B. Change the access level of species to private.

C. Change the access level of species to protected.

D. Remove the setSpecies() method.

E. Mark the Tree class final.

F. Make a defensive copy of species in the Tree constructor.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: