public static boolean isVolatile(int mod){
  return Modifier.isVolatile(mod);
}

public static boolean isVolatile ( int mod ) { return Modifier . isVolatile ( mod ) ; }
returns if modifier is volatile . note that in our case modifier can be mix ( public and private for example ) .
