Question JAVA Using the stack provided by the Java API (java.util.Stack), print line of texts in reverse. Lines should be read from the user until the sentinel “DONE” is entered, at which point they are displayed in reverse. Do not print the word “DONE”.
Question
JAVA Using the stack provided by the Java API (java.util.Stack), print line of texts in reverse. Lines should be
read from the user until the sentinel “DONE” is entered, at which point they are displayed in reverse. Do not print the word “DONE”.