I Have a list which is in
[
[SAM, 12/01/2015, 9A-6P],
[JAM, 12/02/2015, 9A-6P]
]
I need to iterate it.I tried the below code
for (int i = 0; i < list4.size(); i++) {
System.out.println("List" + list4.get(i).toString());
}
//this is giving me [SAM, 12/01/2015, 9A-6P]
but I want to iterate the above one also [SAM, 12/01/2015, 9A-6P].
Can anybody have idea?
list4is a terrible name for a variable, try to find something more descriptive. 3] If possible, you should be de-serializing what is obviously some form of data into a better object. For one thing, it would help to make your dates unambiguous.