why java doesn’t support the call by reference?
Java call by reference
Hey @malikvinay679_bd986788c4b0b437 Java does not support the call by reference because in call by reference we need to pass the address and address are stored in pointers n java does not support pointers and it is because pointers break the security. That’s why Java is always pass-by-value
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.