public enum CountEngines { Zero(0), Two(2), Four(4), Six(6); private int Count; public int getCount() { return Count; } CountEngines(int num){ this.Count = num; } }