Posted on 2004-10-07
I was reading through a java textbook and I came across the term Abstract Data Type (ADT) the book doesn't help me understand the concept of an ADT properly. I was wondering if someone can explain what an ADT is? Is it just an encapsulated user-defined class which hides a lot of detail on how to handle a certain data structure, I mean for example like the Stack class in the Java API. And is the concept of ADT specific to Java or is it common in Object Oriented programming languages which are class-based?