public class Musician { int skill; static final int MAX_SKILL = 100; static final int MIN_SKILL = 0; public Musician(){ setSkill(MIN_SKILL); } protected void setSkill(int value) { if(value>MAX_SKILL){ value = MAX_SKILL; } if(value