In C I might say
printf("%p",0x11194);
*((int *) 0x11194) = 30240;
(In this example I know that there is an integer at that memory location)
Please tell me, how would I do the same in Java? Btw I may have completely misunderstood how memory works