Bagaimana cara mengulangi tumpukan tanpa kelas Iterator
for(YourObject obj : stack)
{
System.out.println(obj);
}
Vishal
for(YourObject obj : stack)
{
System.out.println(obj);
}