give an example for non-primitive data structure
Answers
Answered by
4
Non-Primitive data types refer to objects and hence they are called reference types. Examples of non-primitive types include Strings, Arrays, Classes, Interface, etc. ... Strings: String is a sequence of characters. But in Java, a string is an object that represents a sequence of characters.
Answered by
1
Answer:
Examples of non primitive data structure are strings,Arrays ,Classes ,interface etc.
Similar questions