What is primitive data type and non primitive data type in java?
Answers
Answered by
1
int ,char ,double,float are permitive data type and array ,structure are non primitive data type
Answered by
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