Java Reflection API

Retrieve methods of current class and super classes

It is advised to read the notes on Java Reflection API before attempting the programs. Example on Retrieve methods of class

getMethods() returns only public constructors of current class and all super classes. getDeclaredMethods() returns all constructors of any specifier of current class