Advertisement



< Prev
Next >



Java - Stack Class





In Java, Stack is a legacy class which extends the Vector legacy class. Stack is used to maintain a last-in, first-out(LIFO) stack i.e. the last element to enter the Stack is the first one to be removed. In other words, Stack can be thought of as a pile of dishes, a new dish is always added to the top of the pile and the first dish to be removed is from the top as well.




Features of Stack


Please Subscribe

Please subscribe to our social media channels for daily updates.


Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page




Advertisement



Notifications



Please check our latest addition

C#, PYTHON and DJANGO


Advertisement