Java Modifier.interfaceModifiers()
Syntax
Modifier.interfaceModifiers() has the following syntax.
public static int interfaceModifiers()
Example
In the following code shows how to use Modifier.interfaceModifiers() method.
/*from w w w . j a va 2 s .c om*/
import java.lang.reflect.Modifier;
public class Main {
public static void main(String... args) throws Exception {
System.out.println(Modifier.toString(Modifier.interfaceModifiers()));
}
}
The code above generates the following result.