package p; public enum B { ONE(1); private int fNum; public B(int num) { fNum= num; } }