Skip to content

noor05-creator/Stack-Using-Array-Java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Stack Using Array in Java

This repository contains a basic implementation of a Stack using an array in Java. The stack supports typical operations such as push, pop, and print (top to bottom).

πŸš€ Features

  • push(int data) – Add element to the top of the stack
  • pop() – Remove element from the top
  • isEmpty() – Check if the stack is empty
  • isFull() – Check if the stack is full
  • print() – Display the stack from top to bottom

πŸ’‘ Learning Focus

This project is part of my DSA (Data Structures & Algorithms) learning. It helped strengthen:

  • LIFO (Last-In-First-Out) logic
  • Manual memory/index management using arrays
  • Stack overflow and underflow checks

πŸ“‚ File Structure

  • Stack – Class with all stack logic
  • Main – Driver code to test the implementation

πŸ› οΈ Built With

  • Java
  • IDE: IntelliJ IDEA

πŸ‘©β€πŸ’» Author

Noor Fatima
BS Artificial Intelligence Student
GitHub: https://github.com/noor05-creator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages