Perhaps I'm not phrasing this correctly, but I have built a class that makes a dynamic array that doubles every time it reaches it's maximum from input. I am now trying to integrate that into another class that will make a list of strings using what I already built in the dynamic array class. Something like:
public StringList() {
DynamicArray2 StringList= new DynamicArray2();}
But I know that isn't right because then I can't refer to it for the rest of the class because it will be cut off. Any suggestions?