In: Computer Science
What is the difference between primitive types and abstract data types?
Primitive data types: ----------------------- Primitive data types are the classification of data in language. We know the representation of each primitive data types. Example: integers, characters, floats, doubles etc. Abstract data types: --------------------- We don't know the representation of abstract data types. Example: "List" is an abstract data type in java. So, It is like "List"" We can provide any data to this list. Which means representation of abstract data types is not defined before. We can define Integer list as List