sorry to bother all of you again but i was just wondering if i can use the same arraylist more than 1 time.
this is for my project i have to create a gui for a pet store and a pet can be either a : mammal,reptile,fish or bird.
so basically i want to create a array list which will hold all of these pets but i only want to create the array list once and then get it to add a to that list from different areas.
i hope i explained this well enough for everyone to understand all help is much apperciated
and cause this is a gui can i declare the array list when my program starts and then refer back to the arraylist??