James Gosling’s Java

Methods can return a value (primitive, array, object…) Methods can alter values in an object they get as an argument (if there are “setter” methods available or public instance variables) Methods cannot alter the value of a primitive or an object reference declared in the caller if it is passed as an argument. ................
................