Advertisements
Advertisements
Question
An object is said to be a non-primitive data.
Options
True
False
MCQ
True or False
Solution
This statement is True.
Explanation:
An object is a non-primitive data type since it is a class instance that may hold complicated data. Objects, arrays, and classes are examples of non-primitive data types (or reference types), whereas primitive data types such as int, char, and boolean hold simple values.
shaalaa.com
Is there an error in this question or solution?