15 lines
297 B
Java
Raw Normal View History

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;
}
}