Social Sciences, asked by anandtomar4856, 1 year ago

What is primitive data type and non primitive data type in java?

Answers

Answered by doubtkumar
1
int ,char ,double,float are permitive data type and array ,structure are non primitive data type
Answered by cyrusbishop
5

Answer:

Primitives are the "basic" data values. The word 'Primitive' means a fundamental component that may be used to create other larger parts.

Thus by primitive data types, we mean fundamental data types offered by Java.

Non-primitive data types are constructed from primitive data types. These are classes, arrays and interface.

Similar questions