Parameters - Pass by ValueIn Java methods, arguments are passed by value. When invoked, the method receives the value of the variable passed in.
NoteA copy of the value of the variable is make avaiable to the method; changes to the copy do not affect the origninal value in the calling method. Article: Cup Size -- a story about variables www.javaranch.com |