Primitive Data Structure |
Non-Primitive Data
Structure |
1. Primitive Data Structure are
predefined in the language. |
Non-Primitive Data structure
are not defined in language and created by the programmer |
2. Primitive Data structures
will have a certain value. |
Non-Primitive Data structure
can have NULL value. |
3. The size depends upon the type of data structure. |
The size of non-primitive
data structures are not fixed. |
4. The primitive data structure
starts with lowercase. |
The non primitive data type
starts with an uppercase. |
5. Can be used to call methods
to perform operations |
Cannot be used. |
Tags
data structure