Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java reverse a word

To reverse a word 

- Put all the letters in a stack and pop them out. 
Because of the LIFO order of stack, you will get the letters in 
reverse order.
 
PREVIOUS NEXT
Tagged: #java #reverse #word
ADD COMMENT
Topic
Name
6+9 =