Concept Flow - Reference assignment and shared state
Create Object A
Assign Reference B = A
Modify Object via B
Check Object via A
Both A and B see same changes
When you assign one reference variable to another, both point to the same object. Changes through one reference affect the shared object.