top of page
Search
zakariyesahid96

Reference types/equality types

Updated: Mar 15, 2022

To summarise

  • Arrays don't compare content but compares reference in memory.

  • If you add numbers it's reference in array, in another array and it's different

  • It has to point to same thing and it might look the same.

  • However if it's the same but reference of memory is important.

  • For example:


3 views0 comments

Recent Posts

See All

Comments


Post: Blog2_Post
bottom of page