Solved

Assume That You Have Declared a Stack Named MyStack to Hold

Question 104

Multiple Choice

Assume that you have declared a stack named myStack to hold String elements. Which of the following statements will correctly remove an element from myStack?


A) myStack.remove() ;
B) myStack.get() ;
C) myStack.delete() ;
D) myStack.pop() ;

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions