Inside ClassChoiceTest, the class AClass is shadowed by a nested class definition of the same name.
Is there any way to refer to the non-nested AClass from inside ClassChoiceTest?
Enthuware Software Support
posted 2 years ago
Yes, it is possible but there is a catch. You have to define the classes in a non-default package and then you can access the non-nested class using the packagename.Aclass. You can't do this with default package because it is not possible to "import" the default package.