Java Reflection Modifier convert to String

Description

Java Reflection Modifier convert to String

import java.lang.reflect.Modifier;

public class Main {
   public static void main(String args[]) throws Exception {
      System.out.println("Class modifiers:" + Modifier.toString(Modifier.classModifiers()));
   }//from w  w  w  .j  a v  a  2 s.  c o m
}



PreviousNext

Related