Create an enum called ItemType that will store the following information.
Type code
Audio AU
Visual VI
AudioMobile AM
VisualMobile VM
Get the enum to functionin this code:
public class Main {
public static void main(String args[]) {
for (ItemType it : ItemType.values()) {
System.out.println(it + " " +
it.code);
}
}
}
public class MainEnum {
enum ItemType {
Audio("AU"), Visual("VI"),AudioMobile("AM"),VisualMobile("VM");
String code;
ItemType(String c) {
code = c;
}
}
public static void main(String args[]) {
for (ItemType it : ItemType.values()) {
System.out.println(it + " " + it.code);
}
}
}



Create an enum called ItemType that will store the following information. Type code Audio &n