Is it inefficient to pass large objects as parameters in Java?

Viewed 12988

Let's say for example I have a class A that creates an instance of a fairly big object B. Is passing B as a parameter to a method in a class C inefficient?

That is, does it just pass a reference or does it shift the object's memory around as well?

Thanks.

8 Answers
Related