Given:
and
What is the output?
Base class
The compilation fails.
Derived class
An exception Is thrown at runtime.
Tested: C.
c: real object is called, and method overriden
Tested, C
C is correct
I mean B
C default class cannot be accessed outside package