Welcome to the CSC Q&A, where you can get help (and share your knowledge) about computer science!

What is the difference between primitive data types and non-primitive data types?

+3 votes
asked Aug 30 in CSC 211 (F17) by Mariam Diallo (195 points)

1 Answer

0 votes
Primitive data types have values stored in their reference location in memory. Non-primitive (Objects) have references to the memory stored in Objects. This will be explained later, but for now understand that primitive data types are very easy to handle since they are well defined limits values, while non-primitive can have a lot more functionality at the cost of being a little more challanging to handle.
answered Aug 30 by Daniel Zwiener (3,504 points)