Implementing Stack using Array in Java

Published: 25 July 2021
on channel: Simply Coding
4,552
91

In this video we will learn what is a Stack and what are different operations that we can perform in Stack. We then write the code to implement it in Java.
We also write the program parenthesis checker which uses Stack to check if brackets are balanced.

00:00 What is a stack
00:32 Different Operations on Stack
00.54 What is overflow in Stack
01:21 What is underflow in Stack
05:02 Defining class for Stack
05:27 Implementing parameterized Constructor
06:00 Implementing default Constructor
06:21 Implementing push() operation in Stack
07:13 Implementing pop() operation in Stack
07:57 Implementing peek() operation in Stack
08:36 Implementing isEmpty() operation in Stack
08:57 Implementing display() operation in Stack
09:43 Implementing Parenthesis Checker using Stack


On this page of the site you can watch the video online Implementing Stack using Array in Java with a duration of hours minute second in good quality, which was uploaded by the user Simply Coding 25 July 2021, share the link with friends and acquaintances, this video has already been watched 4,552 times on youtube and it was liked by 91 viewers. Enjoy your viewing!