How do you check the element at the top of a `Stack` without removing it?
You can check the top element by using the `get()` method, which returns the element at the specified index.
Thatâ€™s incorrect. The `get()` method is used for accessing elements in a list, not in a `Stack`.
Can you explain how `peek()` is used to check the top element of a stack?