PIbd-14_Antonova_A.A.__Hard/DopEnum.java

14 lines
191 B
Java
Raw Permalink Normal View History

2024-05-09 20:09:37 +04:00
public enum DopEnum {
Two (2),
Three (3),
Four (4);
private int number;
DopEnum(int n){
this.number = n;
}
public int get_number() { return number; }
}