• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

What & How Abstract Data Type

 
Terence hiu
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

I keep coming across the word abstract data type, what is it exactly? and if some tells me to design an ADT for a say CD collection, what is it do i do?
 
Tony Docherty
Bartender
Posts: 2965
59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out http://www.coderanch.com/t/403302/java/java/abstract-data-type

May I suggest you try searching the forum before asking questions such as this as a lot of these types of questions have already been answered and you will get your answer much quicker than waiting for one of us to reply to your post.
If you do read an earlier thread and don't understand the answer then by all means post a new thread saying something like I read thread "ABC" and still don't understand "XYZ".
 
Winston Gutkowski
Bartender
Pie
Posts: 10422
63
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Terence hiu wrote:I keep coming across the word abstract data type, what is it exactly? and if some tells me to design an ADT for a say CD collection, what is it do i do?

It also helps if you use standard English when posting. We can make allowances if it is not your first language, but I, for one, have know idea what an ADT is - although from your post I assume it's an acronym for your subject.

Just to add to Tony's good advice, and since "collection" seems to be the operative word, you might want to look at the docs for the Java Collections Framework, as it contains many interfaces and abstract classes that you may find useful.

Winston
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic