how to create object of a class with enum inside in java code example
Example: enum java
public enum AlertLevel {
Undefined(0),
Ok(1),
Warning(2),
Alarm(3);
}
public enum AlertLevel {
Undefined(0),
Ok(1),
Warning(2),
Alarm(3);
}