Solved

ADT?

Posted on 2004-10-07
4
189 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

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

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…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now