class AAA{} class BBB extends AAA i