answersLogoWhite

0


Best Answer

The Stack class represents a last-in-first-out (LIFO) stack of objects. It extends class Vector with five operations that allow a vector to be treated as a stack. The usual push and pop operations are provided, as well as a method to peek at the top item on the stack, a method to test for whether the stack is empty, and a method to search the stack for an item and discover how far it is from the top.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is interface stack?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

The network card operates at which layer of the ip stack?

Network interface


Can you name the legacy classes and interface for collections?

Dictionary, Hashtable ,Properties ,Stack and vector are the legacy classes in java


What are the four layers of the protocol stack used when an email client requests email over the internet?

Application, transport, Internet, and Network Interface.


List the four layers of the protocol stack used when an email client requests email over the internet?

Answer: Application, transport, Internet, and Network Interface.


A stack can be implemented as?

One way to implement a stack is with a singly-linked list. The head pointer always points to the "top of the stack", and each element points to the next. Since you rarely, if ever, are interested in more than the top of the stack, this is one way, although not the most efficient way, to implement a dynamic stack.Since a stack is an abstraction, the best way to do this is to use a C++ abstract class or JAVA interface, as that would allow you to fine tune the implementation without having to think about the utilization. Since since the category did not specify C++ or JAVA, however, that ends that discussion.


What is implicit stack?

A stack created by the user or a programmer is an implicit stack


What are the types of network interface card?

Gigabit Ethernet interface Controller interface Serial interface Multilink Group interface MFR (Multilink Frame Relay bundle interface) Dialer interface Loopback interface Tunnel interface ATM interface


What is the function of a stack pointer?

Stack pointer points to the topmost / most recently referenced location on the stack; - Nutan


How much in a stack?

$1000 in a stack


How do you use the word stack in a sentence?

Stack these boxes over there, please.There was a stack of cards sitting on the table.


What has the author Gael Stack written?

Gael Stack has written: 'Gael Stack' 'Gael Stack' -- subject(s): Themes, motives


Can stack be as a pointer?

A stack is a data structure in which last item inserted is taken out first . That's why they are known as LIFO (last in first out). Inserting an item in stack is termed as push and taking an item out from stack I s termed as pop. Stack pointer is the pointer that points to the top of the stack or that points the item at the top of the stack and help in adding or deleting the item from the top of stack.