CellPhoneBook

CellPhoneBook - } public String lookupCellNumber(String...

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

View Full Document Right Arrow Icon
public class CellPhoneBook { // define fields here public CellPhoneBook(int maxsize) { // complete this method } public boolean addEntry(CellPhoneBookEntry entry) { return false; // replace this line with your code } public int getSize() { return 0; // replace this line with your code } public CellPhoneBookEntry getEntry(int i) { return null; // replace this line with your code
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: } public String lookupCellNumber(String name) { return null; // replace this line with your code } public boolean changeCellNumber(String name, String newcellnum) { return false; // replace this line with your code } public void sort() { // complete this method } }...
View Full Document

This note was uploaded on 07/12/2009 for the course CS 111 taught by Professor Hari during the Fall '08 term at Rutgers.

Ask a homework question - tutors are online