How to get the parent base class object super.getClass()

getClass().getSuperclass()

But don’t use this. It is certainly a sign of bad design.

Leave a Comment