examples of primitive and non primitive datatypes
Example: primitive and non primitive data types
Primitive data types are those data types which are used by programmers when creating variables in their program.
For example :-
* boolean
* char
* byte
* short
* int
* long
* float
* double
Non-Primitive data types:
* String
* array
* enum
* class
* etc