Create a HashMap as follows,
HashMap<String, ArrayList<Integer>> studentMap=new HashMap<String, ArrayList<Integer>>();
Key is the name of the student and the value is their list of marks. index 0 in the ArrayList has the january mark for every student , index 1 has feb mark for every student and continues(If you have more).
You can add the entries as below,
scores=new ArrayList<Integer>();
scores.add(40);
scores.add(80);
studentMap.put("John", scores);
scores=new ArrayList<Integer>();
scores.add(61);
scores.add(81);
studentMap.put("Mary", scores);
And to display the values,
for(String name : studentMap.keySet())
{
ArrayList<Integer> scoreList=studentMap.get(name);
System.out.println("Name : "+name+" Jan Score: "+scoreList.get(0)+" Feb Score : "+scoreList.get(1));
}
In between you can add your logic for percentage improvement.