Answer Posted / karthikamburu
stack is an abstract data type and data structure based on
the principle of Last In First Out (LIFO). Stacks are used
extensively at every level of a modern computer system. For
example, a modern PC uses stacks at the architecture level,
which are used in the basic design of an operating system
for interrupt handling and operating system function calls.
Among other uses, stacks are used to run a Java Virtual
Machine, and the Java language itself has a class
called "Stack", which can be used by the programmer.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is constructor in C++?
Can we define a constructor as virtual in c++?
Reads in the size of a square from the screen; 2. Prints a hollow square of that size out of “-“, “|” and blanks on screen; 3. Prints the same hollow square onto a text file. Your program should work for squares of all side sizes between 1 and 20. --- │ │ │ │ │ │ ---
What is prototype in c++ with example?
What causes a runtime error c++?
Why c++ is faster than java?
Is c++ a good first language to learn?
Can I learn c++ without learning c?
What is the benefit of encapsulation?
Why is c++ not purely object oriented?
What is namespace & why it is used in c++?
What is a local variable?
When does a 'this' pointer get created?
Can we delete this pointer in c++?
Can java be faster than c++?