Hi

I am very new to Java. I have heard that objects in Java are passed by reference
and not by value.

1. Is this correct
2. What is the main difference between passing by reference and passing by
value. What efficiciency does this gain you. If possible, please give an
example to clarify.