Solved

ADT?

Posted on 2004-10-07
4
194 Views
Last Modified: 2010-03-31
Hello,

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?

Thanks.
0
Comment
Question by:Ravi Singh
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 30 total points
ID: 12252577
Short answer - yes and yes, cross-language ;-)

http://en.wikipedia.org/wiki/Abstract_data_type
0
 
LVL 5

Assisted Solution

by:Naeemg
Naeemg earned 20 total points
ID: 12252730
0
 
LVL 18

Author Comment

by:Ravi Singh
ID: 12253182
Thanks, the sites were a great help.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 12253264
8-)
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question