Arr is reference variable

arr worked as a reference variable right ? if yes then sop(arr) why not printing address of it

Hi aman
That is because arr is special reference and does not work in the same way as pointers.
To read more about it you can look up this link
https://www.javaworld.com/article/2077305/objects-and-arrays.html#:~:text=Array%20references%20can%20be%20used,variables%3B%20only%20array%20references%20can.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.