Introduction to OOP
Chapter 25: Reflection and Introspection :
next
previous
audio
real
text
Using a Method
What can you do with a method object? You can do the usual things of getting its names, argument type signatures, so on.
System.out.println(methods[0].getName()); Class c = methods[0].getReturnType();
Intro OOP,
Chapter 25
, Slide 07