Stack Class
What is Stack Class? Difference between Stack and class?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Suraj SahooPosted Feb 5, 2015, 12:56 PM
Thanks.
Happy to help
Pramod VermaPosted Feb 5, 2015, 9:09 AM
Suraj SahooPosted Feb 5, 2015, 1:00 AM
Are you sure you want difference between Stack and Class or Struct and Class?
Below I have provided a good link for difference between struct and class.
http://www.c-sharpcorner.com/UploadFile/skumaar_mca/difference-between-struct-and-classes/
Stack as you have mentioned is a Data structure concept.
As stack is something in which elements are stacked or inserted following a LIFO(Last In First Out) principle. For example, plates stacked in a hotel or marriages.
Whereas
A class is a OOP principle element. It is simply a template that has its own properties and the properties are accessed by using an instance of it which is called an Object.
Hope this gives you an idea of what you wanted.
Thanks