This is polymorphism related question raised in process of learning Java.
Example has two classes: AA as a parent and BB as a child. We crea
AA
BB