Write a class that can be used as a "stack". A stack is a line that you enter at the top. The last person to get in line is the first one to be deleted from line. The first person in line is the last one deleted. You can look at it as a structure to hold employees who will be laid off. The last one hired is the first one layed off. We are going to have a stack of strings. Use an ArrayList to hold the names.

Your stack should have the following member functions:

public void push(String n); // puts string on top of stack

public String pop(); // deletes last person to enter stack

public void clear(); // removes everyone from stack

public boolean isEmpty(); // returns if stack is empty or not

public void printStack(); // prints stack - for debugging only - from top to bottom

After you get your class compiling corectly test it with a menu driven main program.