print the content of List array of objects java code example
Example: printing arraylist
for(int name: arraylist)
{
System.out.print(name + " ");
}
for(int name: arraylist)
{
System.out.print(name + " ");
}