write one difference between primitive data types and composite data types
Answers
Answered by
5
Answer:
If two variables contain data that is primitive they compare by value. This means that if they both contain the same values they are equal. If two variables contain data that is composite they compare by reference. This means that they can only be equal if they refer to the same object.
Explanation:
HOPE THIS HELP YOU
MARK AS BRAINLEST
AND GIVE HEART TO MY ANSWER❤️
AND FOLLOW
Answered by
3
Answer:
Full answer is photo below.
Explanation:
I hope this answer is you useful.
Attachments:
Similar questions