Difference between primitive and non-primitive type in java code example
Example: primitive and non primitive data types in java
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