Data Structures Question:
Download Questions PDF

What method is used to place a value onto the top of a stack?

Answer:

push() method, Push is the direction that data is being added to the stack. push() member method places a value onto the top of a stack.

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
Run Time Memory Allocation is known as in data structure?What method removes the value from the top of a stack?