Lucid Software interview question

How does reflection work in java?