# Array reference

**URL:** <https://forum.kirupa.com/t/array-reference/314959>\
**Category:** Uncategorized\
**Created:** [October 13, 2010, 12:53pm UTC](https://forum.kirupa.com/t/array-reference/314959 "2010-10-13T12:53:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [October 13, 2010, 12:53pm UTC](https://forum.kirupa.com/t/array-reference/314959/1 "2010-10-13T12:53:02Z")

</div>

if class A passes a reference to array to class B (while this array is empty), later on even if i add some elements to that array in class A, when class B tries to access some array elements , it wont find it.

how come?
