PIbd-14_Antonova_A.A.__Hard/DifferenceOfWheels/EnumWheels.java

16 lines
226 B
Java
Raw Permalink Normal View History

2024-06-10 13:56:47 +04:00
package DifferenceOfWheels;
public enum EnumWheels {
2024-05-09 20:09:37 +04:00
Two (2),
Three (3),
Four (4);
private int number;
2024-06-10 13:56:47 +04:00
EnumWheels(int n){
2024-05-09 20:09:37 +04:00
this.number = n;
}
public int get_number() { return number; }
}