What does the method top() do in a stack?
1) Returns the top object from the stack and deletes it
2) Returns the top object from the stack without deleting it
3) Deletes the top object from the stack without returning it
4) Does nothing