how to print out the elements of a list in java? It is prining the object itselfe instead of the values here what I did: here what I have
for(int i=0;i<list.size();i++){ System.out.println(list.get(i)); }
No comments:
Post a Comment