下列方法,用于通过反射获得修饰符的是?

下列方法,用于通过反射获得修饰符的是?

A.getName();

B.getType();

C.getModifiers();

D.toGenericString();

正确答案是C