top of page
Search

Reference types/equality types

  • zakariyesahid96
  • Feb 2, 2022
  • 1 min read

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:


 
 
 

Comments


Post: Blog2_Post
  • Facebook
  • Twitter
  • LinkedIn

©2021 by zaktech96. Proudly created with Wix.com

bottom of page