What is the name of the method and what class is it defined in?
If addInfo() is a public method in the Containment class you can call it the same way you called the ArrayList's add() method in ...
Type: Posts; User: Norm
What is the name of the method and what class is it defined in?
If addInfo() is a public method in the Containment class you can call it the same way you called the ArrayList's add() method in ...
Container is the name of a class in java SE. You should use a different name for your class.
Naming conventions for variables recommends lowercase first letter:
names vs Names
Get a reference...