16 lines
226 B
Java
16 lines
226 B
Java
|
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; }
|
||
|
}
|