Search⌘ K
AI Features

Quiz: Reflection and Metadata

Test your understanding of runtime introspection, custom annotations, and the Java Module System with this quiz.

We'll cover the following...
Technical Quiz
1.

Which method allows you to load a class dynamically using its fully qualified string name?

A.

ClassLoader.loadClass("java.lang.String")

B.

Class.forName("java.lang.String")

C.

new Class("java.lang.String")

D.

Class.get("java.lang.String")


1 / 6
...