Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: stack in data structure

  1. #1
    Junior Member
    Join Date
    Oct 2017
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default stack in data structure

    can you please confirm that below understanding of stack is correct or not ?

    stack in data structure Definition -

    Stack is a dynamic data structure with verity of application in the field of computing it is known as dynamic data structure because stack is Last In First Out (LIFO) data structure because new items are added to the top of the stack and item can only be removed from top. A stack is also known as Abstract Data Type.

    Real World Example of Stack -

    A stack of neatly folded shirts.
    A stack of coin. A stack of plates.
    To implement a stack you can use array variable.

  2. #2
    Member
    Join Date
    Apr 2014
    Posts
    92
    Thanks
    3
    Thanked 7 Times in 7 Posts

    Default Re: stack in data structure

    Of course it's correct. Is there any reason to think javatechworld.com would be mistaken about this?

Similar Threads

  1. Re: Data Structure
    By jim17 in forum Object Oriented Programming
    Replies: 3
    Last Post: November 16th, 2011, 11:14 PM
  2. Data Structure
    By Faha in forum Object Oriented Programming
    Replies: 9
    Last Post: November 10th, 2011, 01:35 AM
  3. Replies: 2
    Last Post: June 15th, 2011, 03:49 PM
  4. Replies: 1
    Last Post: June 11th, 2011, 05:39 AM
  5. .xls data structure
    By helloworld922 in forum JDBC & Databases
    Replies: 3
    Last Post: August 20th, 2009, 07:12 PM

Tags for this Thread