Skip to main content


Java uses only call by value while passing reference variables as well. It generates a copy of references and passes them as valuable to the methods. As reference points to the copy address of the object, creating a copy of the reference is of no harm.