Interview Question

Technical Yahoo Interview Santa Clara, CA

Difference between pass by value and pass by reference


Interview Answer

1 Answer


Pass by Reference means the passing the address itself rather than passing the value and pass by value means passing a copy of the value as an argument.

Java is strictly "Pass by value".

Bindu on Dec 13, 2011

Add Answers or Comments

To comment on this, Sign In or Sign Up.