What is ADT (Abstract Data Type)?

  • Thread starter Thread starter sadaf2605
  • Start date Start date
  • Tags Tags
    Data Type
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 3K views
sadaf2605
Messages
13
Reaction score
0
What is ADT: Abstract Data Type?
is it like Abstract Classes?

The more i am searching for it i am getting lost! So please help!

Thanks in an advance!
 
Physics news on Phys.org
sadaf2605 said:
What is ADT: Abstract Data Type?
is it like Abstract Classes?

The more i am searching for it i am getting lost! So please help!

Thanks in an advance!

Hey sadaf2605 and welcome to the forums.

Have you checked Wikipedia?

http://en.wikipedia.org/wiki/Abstract_data_type
 
An Abstract Data Type is usually an interface which holds methods for an implementation of a Data structure. There are different ADTs available to implement different data structures. ADTs usually hold <E>, Generic variable type, so the user may or may not specify the Data Type of the data structure that is being implemented from the ADT..