Question: what is the difference between primitive and nonprimitive data structure?
Answer: 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. ... A non-primitive data type is something else such as an array structure or class is known as the non-primitive data type.