`A` and `B` need to extend `MySealedClass`, and yo...
# announcements
m
A
and
B
need to extend
MySealedClass
, and you need to instantiate them with
MySealedClass.A()
and
MySealedClass.B()
.