Good day. Tell the unreasonable newcomer the answer to the following question: We have 2 classes available: Main, Class1, Class2. In Maine, I create objects. In class1, this object is added to an ArrayList
using a non-static method. I can not understand for myself how I can get this erylist in class 2?
Thanks in advance to everyone who tells