문자열과 타입 안정성Enum Type이 생겨난 이유에 대해 먼저 알아보자. package enumeration.ex0;public class DiscountService { public int discount(String grade, int price) { int discountPercent = 0; if (grade.equals("BASIC")) { discountPercent = 10; } else if (grade.equals("GOLD")) { discountPercent = 20; } else if (grade.equals("DIAMOND")) { discountPercent = 3..