Data structures and algorithm, JAVA Programming

Create a class to implement the ArrayList collection. The name should be YourFirstNameArrayList; for example if I were creating the class then I would call it WaynesArrayList. Don’t implement all the ArrayList methods, only the following: add(element), add(index, element), get(index), set(index, element), remove(index), size( ) and toString( ). You don’t need to bother with throwing exceptions, but you do need to implement the ArrayList feature that it will expand to accommodate more data when it is full.
Also write a driver program to thoroughly test your class. We will discuss in class what thorough testing should consist of.
Posted Date: 1/27/2013 8:47:22 PM | Location : Canada







Related Discussions:- Data structures and algorithm, Assignment Help, Ask Question on Data structures and algorithm, Get Answer, Expert's Help, Data structures and algorithm Discussions

Write discussion on Data structures and algorithm
Your posts are moderated
Related Questions
The method should printout line numbers from 1 to howmany in the previous format -ONLY WHEN is divisble by 3 but is should not oupt more then 3 numbers on the line. input 1 outpu

What is the purpose of garbage collection in Java, and when is it used? The purpose of garbage collection is to identify and discard objects that are no longer required by a pr

Why hub is used in networks? Hub is networking equipment and a device that connects various computers to form a network. In a network the NIC translates the message within elec

Both Java and C++ use same syntax and are Object Oriented, but there are several differences between Java and C++:   1.    Java does not use pointers. Pointers are inherently

Create an object model for the Solar System using the following link: Provide">http://airandspace.si.edu/etp/ss/index.htm Provide an abstract class called Planet and a concrete s

Explain what is Multilevel Inheritance ? The Car-Motorcycle-MotorVehicle instances showed single-level inheritance. There's nothing to stop you from going next. You can describ

What is JavaServer Faces event and listener model? Ans) A mechanism for verifying how events emitted by JavaServer Faces UI components are handled. This model is based on the Ja

A target is the class that is being advised. The class can be a third party class or your own class to which you require to add your own custom behavior. By using the concepts of A

A one page website where a user can input the information including Company Name, Title, Activity, R/S, I also need the user to select the start date, end date, and check poi

Question 1 What is Response Redirection? Explain in brief Question 2 What is JDBC? Explain Question 3 Write a short note on Expressions Question 4 What is an XML na