ChangingPeople

ChangingPeople - .. person1: Jack - Age 101 person2: Jill -...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Solution to Changing People Program output: Parameter Passing. .. Original values. .. person1: Sally - Age 13 person2: Sam - Age 15 age: 21 name: Jill Inside changePeople. .. Original parameters. .. person1: Sally - Age 13 person2: Sam - Age 15 age: 21 name: Jill Inside changePeople. .. Changed values.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: .. person1: Jack - Age 101 person2: Jill - Age 21 age: 101 name: Jack Values after calling changePeople. .. person1: Jack - Age 101 person2: Sam - Age 15 age: 21 name: Jill Modified ChangingPeople.java in which parameters to changePeople are actually changed....
View Full Document

This note was uploaded on 03/22/2010 for the course CS 202 taught by Professor Fong during the Spring '10 term at SIU Carbondale.

Ask a homework question - tutors are online