Computer Science, asked by abduljgs, 1 year ago

difference between primitive and non-primitive data types?

Answers

Answered by PrakashSolanki
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 amitaagarwal4827
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