You have asked this question a number of times before, and been given some suggestions. It seems that you are still having trouble understanding arrays, and I would suggest once again that you look at
The Java Tutorials[
^], and spend some time on the section on arrays, part of Java basics. Until you understand the methodology of creating and accessing arrays and their contents you are unlikely to make much progress with this problem.