Which of the following is a benefit of declaring a Java class as final? Choose one.
A. It promotes the principle “prefer inheritance over composition.”
B. It simplifies class unit testing.
C. It helps to design immutable classes.
D. It prevents instantiation of the class.
·ꓛ puɐ ꓭ suoᴉʇdo ǝɹɐ sɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ ·uoᴉsnʅɔuoꓛ