How do you create a Two-Dimensional ArrayList?

Java ArrayList Help..... Please help me I need the code for this question. Here it is....?

  • Please help me I need the code for this question. Here it is.... Define a class named ArrayList. This class represents a list of objects and supports random access to its objects via a numeric index position. Thus, it should contain an array of Object. For this exercise, include an instance variable for the array, an instance variable to track the number of objects currently accessible in the array (its logical size), three constructors, and a toString method. The default constructor should create an array of five objects, all initially null. The second constructor expects an integer parameter. This constructor uses this integer as the initial length of the array. The third constructor expects an array of objects as an argument. It copies these objects to a new array instance variable of the same length. the count (logical size) of the accessible objects should be initialized appropriately in each constructor. The toString method builds and returns a string containing the string representations of the objects currently accessible in the array. When the logical size is 0, this is the empty string. If anyone knows how to do this please help?....

  • Answer:

    I do know how to do this, but I'm not sure which part you need help with. What don't you understand about it?

Matt at Yahoo! Answers Visit the source

Was this solution helpful to you?

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.