RosettaCodeData/Task/Reflection-List-methods/00-TASK.txt

6 lines
250 B
Plaintext

;Task:
The goal is to get the methods of an object, as names, values or both.
Some languages offer [[Respond to an unknown method call|dynamic methods]], which in general can only be inspected if a class' public API includes a way of listing them.