Modifier.isStrict(int mod) has the following syntax.
public static boolean isStrict(int mod)
In the following code shows how to use Modifier.isStrict(int mod) method.
import java.lang.reflect.Modifier; /*from w w w . ja va2s . c om*/ public class Main { public static void main(String[] args) throws Exception { Class<?> clazz = String.class; int modifier = clazz.getModifiers(); if (Modifier.isStrict(modifier)) { System.out.println("isStrict"); } } }