Computer Science
Distinguish between Primitive and Non-Primitive data types
Values & Data Types Java
18 Likes
Answer
| Primitive Data Types | Non-Primitive Data Types |
|---|---|
| Primitive Data Types are Java's fundamental data types | Non-Primitive Data Types are created by using Primitive Data Types |
| Primitive Data Types are built-in data types defined by Java language specification | Non-Primitive Data Types are defined by the programmer |
| Examples of Primitive Data Types are byte, short, int, long, float, double, char, boolean | Examples of Non-Primitive Data Types are Class and Array |
Answered By
7 Likes