Java is object-oriented, so my advice would be to take advantage of that feature and create a class which contains the student name and score. You can then create an object/instance of said class...