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

16 lines
226 B
Java
Raw Permalink Normal View History

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