Stack memory and heap memory

you said when we use “new” space will be allocate in heap memory but you updated the “4k” address in stack memory. why?

Heap space in Java is used for dynamic memory allocation for Java objects and JRE classes at the runtime . New objects are always created in heap space and the references to this objects are stored in stack memory