What method is this?

Given the following code:
template < class ItemType>
ItemType ArrayStack::doSomething() const
{
assert (!isEmpty());
return items[top];
}
a. pop()
b. peek()
c. default constructor
d. copy constructor

b. peek()

Computer Science & Information Technology

You might also like to view...

Match each feature with the tab used to access the feature:

I. Create a table II. Add a row to a table III. Create a caption IV. Create envelope labels V. Design a table border A. Table Tools Layout B. References C. Mailings D. Insert E. Table Tools Design

Computer Science & Information Technology

A _____ instruction is a command that tells an XML parser how to process the document.

A. processing B. parsing C. coding D. designing

Computer Science & Information Technology