Computer Science, asked by priyanshicpchaudhary, 9 months ago

give one example of each of primitive data type and composite data type​

Answers

Answered by akankshsksinha7
12

Answer:

Primitive data types - includes byte , short , int , long , float , double , boolean and char..

A composite data type is any data type that is composed of primitive data types as its based type. In other words, it is an aggregate of primitive types. Composite types in Java are the array data structure and the class data type.

Answered by leanderr
30

Answer:

Primitive Data Types – byte, short, int, long, float, double, char, boolean

Composite Data Type – Class, Array, Interface

Hope it helps :)

plz mark this answer as brainliest as I need 2 more brainliest answers to achieve virtuoso

THANX :)

Similar questions