collections of java exercise: intro, array, operator, variable, for-loop