Question: Printing the memory address of an integer in Java. I was able to get the C++ code for this to work. I've been trying to

Printing the memory address of an integer in Java. I was able to get the C++ code for this to work. I've been trying to watch videos online on how to print the address of a variable and I cannot figure out how to do it. Ignore the sample output at the bottom, I was able to understand that part. I need help on what to type for the code to get the variable value along with the address of the variable.
CS351 Programming Languages Ilomeworle #4 Due Friday 3/2 at 1 PM ross.CPP.java Rewrite the program below using pointers in C++ and reference types in Java, Add a Conment with your name as the first line. Name your suree cocle files using your lastname. Upload yr source cente Tiles to Cugar Courses using the CH and the Java link, respectively. Your Dreams must compile and work correctly on empress to receive credit. Part of ossignment, is hinding how to ievo con rimpress, #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
