Introduction to OOP
Chapter 25: Reflection and Introspection :
Reflection and Introspection imply a program that can dynamically learn about or modify itself.
Learn the class of objects
Learn what methods an object responds to
Creating instances from class objects
Dynamically adding new classes
Dynamically adding new methods to existing classes
Not all abilities are found in all languages. Some languages do not have any support for reflection or introspection.
, Slide 01