Reflection

Inspecting and using types, members, and annotations at runtime.

What is Reflection in Java?

Reflection — Inspecting and using types, members, and annotations at runtime.

class TypeInspector {
    String typeName(Object value) {
        Class<?> type = value.getClass();
        return type.getSimpleName();
    }
}

Level: Master · More Java terms at this level

Updated

In other subjects