What is difference between primitive and non-primitive?

Primitive data structure is a kind of data structure that stores the data of only one type. Non-primitive data structure is a type of data structure that can store the data of more than one type. Examples of primitive data structure are integer, character, float.

Sizin İçin Seçtik  What are non-primitive objects in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *