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

If a slope of a line is 2/0 is it 0 or undefined?
Does every point lie in a quadrant?
If Walt can paint 25 feet of fence in an hour, and Joe can paint 35 feet in an hour, how many minutes will it take them to paint a 150-foot fence, if they work
Natalie earns $2.50 for each cd she sells and $3.50 for each dvd she sells.  Natalie sold 45 dvds last year.  She earned a total of $780 last year selling cds a
Find the value of x.  Round to nearest hundredth if necessary.
Which of the kingdoms has the smallest number of known species
Find all powers of 4 in range 4 through 1,000
which seismic wave moves through earth at the fastest speed?
A farmer hauled in 120 bales of hay. Each of his cows ate 1 1/4 bales. How many cows the farmer feed?
Dominick lives 1 3/4 miles from his school.  If his mother drives him half the way, how far will Dominick have to walk to get to school?