How do I empty my array to write new information to it?
my array is an attribute of the class Movielist and contains objects from the class Movie; moviedatabase is an instance of movielist
I have an "open" function and I want this to empty my array and then write new information imported from a file
I know how to import information to add to my array, but in this case I must empty my array first... how do I do that? if I set moviedatabase to null then I can't add to it, and if I try instantiating it again immediately after it says it's a duplicate and won't let me - what do I do?