This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: CSI2110 - Fall 2009 - Assignment 1 Posted: Friday, October 2 nd , 2009 Due: Thursday, October 15 th 2009, by 11:00 pm Work alone! – This is an individual assignment. Your answer has to be uploaded to Virtual Campus - No exceptions. There is a total of 20 points or 5 marks in this assignment. Array List Implementation In this assignment you will implement the abstract data type array-list with a growable array not using any class from the package java.util. You will need to define an interface CSI2110.ArrayList<E> with the methods below. You will need to implement the interface in the abstract class CSI2110.GrowableArray<E> where the growth function will need to be abstract. Your growable array should be of size 1 to start. A skeleton main class is provided, reading a text file and storing each word as a string in the array-list. In your main method, you will need to use three sub-classes of CSI2110.GrowableArray<E> ....
View Full Document
This note was uploaded on 02/24/2010 for the course SITE CSI2110 taught by Professor Mohammadomar during the Fall '09 term at University of Ottawa.
- Fall '09