class OtherStructureConstant {
  public static void main(String[] args) {
    int COST = 100;
    System.out.println(COST);
  }
}

class OtherStructureConstant {
  public static void main(String[] args) {
    final int COST = 100;
    System.out.println(COST);
  }
}

Fix const java example