Sunday, March 13, 2011

Week of Mar. 14, 2011

MON
Review (and complete) Ch. 6
pop quiz:  array methods


classwork: p. 382 Short Answer 6.6

Arrays, ArrayLists, 2D Arrays
declaring, printing, sequential search
adding, deleting, inserting values to ArrayLists

PhoneBook.java
1.  We will create a Friend class together
2.  It will implement public int compareTo(Object obj)
3.  You will create a PhoneBook class which has an ArrayList of Friend objects
4.   PhoneBook will display the following menu
a)dd d)elete s)ort f)ind p)rint

Homework
First we will create a page in your pbworks for linking to your ideone assignments
Copy and paste the following
https://ideone.com/FPLMW
into a new code in ideone
add a printArray2 method which prints the array using a traditional for loop
Create a PrintArrayList class based on this sample which uses ArrayList instead of array






TUE - FRI
Binary Searches
Sorting Algorithms
Check back for details