Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

how to iterate a stack without iterator class

for(YourObject obj : stack)
{
    System.out.println(obj);
}
 
PREVIOUS NEXT
Tagged: #iterate #stack #iterator #class
ADD COMMENT
Topic
Name
9+9 =