Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

string stack in 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
 
PREVIOUS NEXT
Tagged: #string #stack #java
ADD COMMENT
Topic
Name
2+4 =