A

Admin • 828.03K Points
Coach

Q. Which class is best for implementing a stack in Java?

  • (A) Vector
  • (B) Stack
  • (C) ArrayList
  • (D) Queue

Explanation by: Admin
Stack class is a legacy class that extends Vector and supports LIFO operations.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.