What’s the difference between primitive type and object?

Primitive values can be stored in variables directly. Objects, on the other hand, are stored as references . A variable that has been assigned an object does not store that object directly, it stores the memory address of the location that the object exists at.

Sizin İçin Seçtik  Paribuya gece para atılır mı?

Leave a Reply

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