difference between primitive and non-primitive data types?
Answers
Answered by
0
Primitive data are only single values, they have not special capabilities. The examples of Primitive data types are given byte, short, int, long, float, double, char etc. ... Non- Primitive Data type, A non-primitive data type is something else such as an array structure or class is known as the non-primitive data type.
Answered by
1
Answer:
primitive data types are predefined data types provided by a programming language to store data in a variable for example by short, int, long ,float ,double .
non primitive data types are derived by primitive data types for example class, string ,array.
Similar questions