Red Hat Interview Question: is java pass by value or pass... | Glassdoor

Interview Question

Software Consultant Interview McLean, VA

is java pass by value or pass by reference

Answer

Interview Answer

1 Answer

2

pass by value, however primitives are not altered when passed by parameter but objects are since a copy of the pointer of the object is being passed

Interview Candidate on Feb 28, 2012

Add Answers or Comments

To comment on this, Sign In or Sign Up.