I am inside a subclass and when I am trying to find the name of super class, I tried super.getClass() , but it is returning me the name of the subclass only. Why?
getClass().getSuperclass() should do.
getClass().getSuperclass()
1.4m articles
1.4m replys
5 comments
56.9k users