|Dec 11, 2005, 10:29 PM||#1|
Abstract Data Types
Can someone explain what an Abstract Data Type is in Java? Plus, what does it look like, and what does it do?
It's all about the Pentiums.
|Dec 11, 2005, 11:31 PM||#2|
A common example of an ADT is a list. A list may have a set of public methods to insert or remove objects, but the implementation details are hidden inside the ADT. The list might be implemented using an array or a linked-list, but the person using the class doesn't need to know or care about these details.
In Java, ADTs are frequently created by defining in interface, and then concrete classes "implement" the interface. http://java.sun.com/docs/books/tutor...interface.html
There are also Abstract classes and abstract methods in Java, but it sounds like you're asking more about the general ADT concept.
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|Data Types and Expressions.||RobertD63||iPhone/iPad Programming||5||Feb 4, 2010 07:01 PM|
|Core Data type entity best practice?||GorillaPaws||Mac Programming||0||Dec 5, 2009 02:47 PM|
|Data types and expressions. I really need to know it? (Base of 8 etc.)||RobertD63||iPhone/iPad Programming||5||Aug 3, 2009 03:05 AM|
|input file with multiple types of data types||Beckie||Mac Programming||2||May 5, 2005 01:02 PM|
All times are GMT -5. The time now is 10:45 PM.