[Solved] edit object/arrayList in java again and again [closed]


I got the answer bu doing some simple arithmetic. Create another class to select random number for bellow cases:

step1: Taking current student index
step2: Randomly selecting one student, whom number should reduce, rather than step1 student

continuing again step1 and step2

solved edit object/arrayList in java again and again [closed]