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

What are the advantages of the java.util.Stack implementation of a stack?

Respuesta :

ExieFansler ExieFansler
  • 09-09-2019

Explanation:

The advantages of java.util.Stack are as following:-

  1. java.util.Stack is an implementation of the vector class hence it can keep track of position of elements in the stack hence it is not required to store an additional pointer for each node.
  2. In the implementation it allocates space only that much is needed.

These are the two advantages of java.util.Stack.

Answer Link

Otras preguntas

Simplify the expression. (−3v) to the power of 5
In the 1920s, mass media helped popularizs which of these sports heroes?
What is a common characteristics of a successful speech’s structure?
While flying an aircraft, a pilot looks out to the horizon. The altitude of the plane is 9.4 km. Earth has an average radius of about 6378 km. How far away is t
How is the percent efficiency of a machine determined?
Marcus is giving a speech arguing the school board president hasn't been doing his job properly. Which would be the most appropriate sentence to include in his
Compound/complex sentences
What is the equation of this graph
Kelly paid $54.60 for a bike helmet that was 20% off the original price. What was the original price
How does the director describe what a home was? why effect does his description have on the students?