O'Reilly logo
  • First Last thinks this is interesting:

In Java, all objects are passed by reference, whereas in C++, the default behavior is to pass objects by value.

From

Cover of Programming Interviews Exposed: Secrets to Landing Your Next Job, 3rd Edition

Note

This is often asked in phone interviews. Java is always by reference. C++ is by value but you can pass in by reference using the reference operator.