07.04.2015 Views

AP Computer Science Homework Set 4 Arrays and ArrayLists of ...

AP Computer Science Homework Set 4 Arrays and ArrayLists of ...

AP Computer Science Homework Set 4 Arrays and ArrayLists of ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

By the end <strong>of</strong> the lesson students should be able to:<br />

a. Write a class definition that includes instances <strong>of</strong> another class (class<br />

composition)<br />

b. Write an object method whose output depends on the object’s instance<br />

variables.<br />

c. Use arrays <strong>and</strong> <strong>ArrayLists</strong> in a class <strong>and</strong> be able to use either a for or<br />

for-each loop to traverse the array or ArrayList.<br />

Page 5<br />

<strong>AP</strong> <strong>Computer</strong> <strong>Science</strong> – HW <strong>Set</strong> 4 Programs<br />

http://thecubscientist.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!