2024-05-11 17:47:53 +04:00

15 lines
297 B
Java

package DifferentRollers;
public enum RollersCount {
OneRoller(1),
TwoRollers(2),
ThreeRollers(3);
private int numOfRollers;
RollersCount(int numOfRollers){
this.numOfRollers = numOfRollers;
}
public int getNumOfRollers(){
return numOfRollers;
}
}