Is Java "pass-by-value" or "pass-by-reference"? - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Is Java "pass-by-value" or "pass-by-reference"?

Damian99Damian99 USAPosts: 116Member

I'm bit confused in understanding whether Java is "pass-by-value" or "pass-by-reference". I know that Java passes objects as references. Can someone please explain?

Tagged:

Comments

Sign In or Register to comment.