July 23, 2022
Which statement is true about a sealed class? Choose one.
A. All its subtypes must be in the same package.
B. Under some conditions, it can have direct subclasses that are not listed in a permits clause.
C. The sealed class is implicitly final.
D. The sealed class is implicitly immutable.
E. The sealed class may not be instantiated directly.
#java #certificationquestion #ocp
·ꓭ uoᴉʇdo sᴉ ɹǝʍsuɐ ʇɔǝɹɹoɔ ǝɥꓕ ·uoᴉsnʅɔuoꓛ