repirce6850 repirce6850
  • 02-09-2019
  • Computers and Technology
contestada

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

Respuesta :

ExieFansler ExieFansler
  • 12-09-2019

Explanation:

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.

Answer Link

Otras preguntas

Think of something you would like to know about the two healthcare systems.
I need help with this
A population of mussels was observed in a particular ecosystem. It was found that crabs preferred these mussels as their favorite food. Few mussels developed a
find the value of X
True-breeding pea plants with smooth peas are crossed with true-breeding pea plants with wrinkled peas. All individuals of the first-generation have smooth pea
Which one of the following poems is written in free verse? A. "Death, Be Not Proud" B. "God's Grandeur" C. "Grass" D. "There Is No Frigate Like a Book"
What can regulate the function of a gene?
solve(x-y)^2=(ax+b) and show your work
Which of the following is not an indicator that a society may discriminate against women? A. The society has high female infanticide rates. B. Females make up l
can u help please.....