Apr-09-2019, 08:10 PM
This really is interesting. My illusion was that anything within the class block would be instance variable. It appears from what your demonstrating is that unless you but anything within the constructor it remains as class variable. Which meant there's only one instance of the list, since it was defined/declared outside the constructor.