Introduction

This lesson introduces the concept of Reflection in Java.

We'll cover the following...

Question # 1

What is Reflection in Java?

Reflection is an API which is used to examine or modify the behavior of methods, classes, interfaces at runtime.

For example, say you have an object of an unknown type in Java, and you would like to call a 'doSomething' method on it ...