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

select the product of (3x-4)(3x4)
What were the reasons for the failure of the League Nations?
Perimeter of a square with an area of 81cm2
Perimeter of a square with an area of 81cm2
Find 4 consecutive odd integers where the product of the two smaller numbers is 64 less than the product of the two larger numbers.
Compute the value of the discriminant and give the number of real solutions to the quadratic equation: 3x^2 - 7x + 9 = 0
india takes the two hour train ride from minneapolis to chicago every dummer to visit her grandparents. The train traveled 44 7/16 (thats a mixed number) mile
the length L of a spring is given by L=(3/4)F + 5 where F is applied force. What force F will produce a length of 8?
A particle travels in a circle of radius 82 cm and with a centripetal acceleration of 4.7 m/s2. How long does the particle take to complete one revolution?
Convert the general form of the circle given into standard form. 2x^2 + 2y^2 - 20x - 8y + 50 = 0