public class MainClass { enum Animals { LION(450), TIGER(450), DOG; int weight; Animals() { } Animals(int w) { weight = w; } } public static void main(String[] argv) { System.out.println(); } } A. Legal B. Illegal