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 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 implicit stack?

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


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


What is the collective noun of stack?

The noun 'stack' is a standard collective noun for:a stack of booksa stack of carsa stack of dishesa stack of haya stack of librariansa stack of pancakesa stack of planesa stack of platesa stack of suitcasesa stack of wood