What method is this?

Given the following code:
template < class ItemType>
bool ArrayStack::doSomething()
{
bool result = false ;
if (!isEmpty())
{
top--;
result = true ;
}
return result;
}
a. pop()
b. peek()
c. default constructor
d. copy constructor

a. pop()

Computer Science & Information Technology

You might also like to view...

The intersection of each row and column in the OpenOffice Calc application is an individual ________

A) deck B) block C) point D) cell

Computer Science & Information Technology

A(n) ________SmartArt object is used display a decision tree or an organization chart

A) Relationship B) Hierarchy C) Process D) Table

Computer Science & Information Technology