KnowledgeBoat Logo

Computer Science

Distinguish between Primitive and Non-Primitive data types

Values & Data Types Java

ICSE

17 Likes

Answer

Primitive Data TypesNon-Primitive Data Types
Primitive Data Types are Java's fundamental data typesNon-Primitive Data Types are created by using Primitive Data Types
Primitive Data Types are built-in data types defined by Java language specificationNon-Primitive Data Types are defined by the programmer
Examples of Primitive Data Types are byte, short, int, long, float, double, char, booleanExamples of Non-Primitive Data Types are Class and Array

Answered By

7 Likes


Related Questions