Why do we use Reflection in Java?

Java Reflection makes it possible to inspect classes, interfaces, fields and methods at runtime, without knowing the names of the classes, methods etc. at compile time . It is also possible to instantiate new objects, invoke methods and get/set field values using reflection.1 Eyl 2008

Sizin İçin Seçtik  How do I practice Java code?

Leave a Reply

Your email address will not be published. Required fields are marked *