Question: Write a command line program, Reverse, in Java that reads all the tokens on the command line and prints them out in reverse order subject

Write a command line program, Reverse, in Java that reads all the tokens on the command line and prints them out in reverse order subject to the following: 1. You will create a Stack class that implements void push(String arg) String pop(). Memory must be allocated dynamically using a linked list (you may not use the Java LinkedList class). and 2. Each token in args1 will be pushed onto the stack from left to right. 3. Each element of the stack will then be popped and printed on the output 4. You may assume that there is at least one token present, so it is not necessary to check the input Example: java Reverse this is my input input my is this
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
