can a called method change the variable passed to it?

Average Rating
0 out of 5 stars. 0 votes.

can a called method change the variable passed to it?

NOIf you modify a primitive type parameter in Java in a method it will not change the value of the variable in the calling method.soure: ICE