About 1,240,000 results
Open links in new tab
  1. Stack (Java Platform SE 8 ) - Oracle

    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.

  2. Stack Class in Java - GeeksforGeeks

    Oct 24, 2025 · In Java, a Stack is a linear data structure that follows the Last In First Out (LIFO) principle and is defined in the java.util package. Internally, it extends the Vector class.

  3. Java Stack Class - Online Tutorials Library

    Stack is a subclass of Vector that implements a standard last-in, first-out stack.

  4. Quick Guide to Java Stack | Baeldung

    Dec 21, 2019 · In this quick article, we’ll introduce the java.util.Stack class and start looking at how we can make use of it. A stack is a generic data structure that represents a LIFO (last in, …

  5. Java Stack Class - Programiz

    In this tutorial, we will learn about the Java Stack class and its methods with the help of examples.

  6. Stack Class in Java (+ Code Examples) - HappyCoders.eu

    Nov 27, 2024 · Just as old as Java itself is the java.util.Stack class, available since version 1.0, implementing the abstract data type "stack". Stack inherits from java.util.Vector and, therefore, …

    • Reviews: 17
    • Stack (abstract data type) - Wikipedia

      Stack (abstract data type) Similarly to a stack of plates, adding or removing is only practical at the top. Simple representation of a stack runtime with push and pop operations. In computer …

    • Mastering Stacks in Java: A Comprehensive Guide - javaspring.net

      Nov 12, 2025 · A stack is a linear data structure that follows the Last - In - First - Out (LIFO) principle. This means that the last element added to the stack will be the first one to be …

    • Java Stack Tutorial: Stack Class Implementation With Examples

      Apr 1, 2025 · This Tutorial Explains What is Stack in Java, Java Stack Class, Stack API Methods, Stack Implementation using Array & Linked List with the help of Examples.

    • Java Stack - Features, Methods, and Examples

      Learn about Stack in Java, a Last-In-First-Out (LIFO) data structure from the Collection Framework. Explore its features, methods, and real-world use cases.