Sunday, 29 September 2013

Getting a particular arraylist element

Getting a particular arraylist element

In java
System.out.println(marks.get(0));
this will print out this from my array list
Adam Adamson adam0001 85.4 79.8 82.4 86.1 82.77%
how can i get it to just print out 85.4 which is the third element across,
because the 2 names are the same element

No comments:

Post a Comment