Ask Question
26 June, 00:52

What is the potential problem with the java. util. Stack implementation?

+5
Answers (1)
  1. 26 June, 01:13
    0
    The potential problem with java. util. Stack is that it is an extension of the Vector class And hence there are a lot of operation in java. util. Stack that does not follow the rule of the basic assumption of the stack.

    for Ex: - You can keep track of the element's position in stack using the index.

    So this the potential problem with the java. util. Stack.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “What is the potential problem with the java. util. Stack implementation? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers