R

Ram Sharma • 193.86K Points
Coach

Q. Which of the following statements are correct about the Stack collection? 
1. It can be used for evaluation of expressions. 
2. All elements in the Stack collection can be accessed using an enumerator. 3. It is used to maintain a FIFO list. 
4. All elements stored in a Stack collection must be of similar type. 
5. Top-most element of the Stack collection can be accessed using the Peek() method.

  • (A) 1 and 2 only
  • (B) 3 and 4 only
  • (C) 1, 2 and 5 only
  • (D) All of the above
  • Correct Answer - Option(C)
  • Views: 133
  • Filed under category C#

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics