< Prev
Next >

Stack Class

Stack is a legacy class which extends 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 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



Please check our latest addition