Ask Question

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

+2
Answers (1)
  1. 2 April, 20:05
    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 & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers