pilha de cordas em java


Stack<String> stack = new Stack<String>(); 

//stack. push("1"); This Java example pushes a Java String with the text 1 
//onto the Stack . The String 1 is then stored at the top of the Stack .

// info fron: https://jenkov.com/tutorials/java-collections/stack.html
Bhramastra