Course contentsShow
Java
Lesson 2326 of 2,87045. Reflection APIPro lesson

Checking Class Properties with Modifiers

Use getModifiers() and java.lang.reflect.Modifier to check if a class is public, abstract, final, or an interface.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.