I have a class names Packers with an array names Wins. I need to take an integer that I get from the main program and put it into the array. I have getters and setters I am just not sure how it works. Fairly new at java.
//getters and setters
public void setWins(int [] a){
wins = a;
}
public int[] getWins(){
return wins;
}