public class EnumTest { static CarEnum carEnum; public static void main(String[] args) { System.out.println(carEnum.BMW); } }