Pass-by-value The actual parameter (or argument expression) is fully evaluated and the resulting value is copied into a location being used to hold the formal parameter’s value during method/function execution….
Clarification on the statement: “Object references are passed by values in Java”
1 Article
1