ProAnswers.org

What does isEmpty() member method determines?

What does isEmpty() member method determines?

isEmpty() checks if the stack has at least one element. This method is called by Pop() before retrieving and returning the top element.