I'm doing a storage inventory program for my school. I just don't understand it fully because I lack knowledge in programming so I usually just watch videos in youtube.. How can I make the "arraylist object" accessible to the other methods below? 

```
package ahaprogram2;

import java.util.Scanner;

public class AhaProgram {

    public static void main(String[] args) {
        Scanner reader = new Scanner (System.in);`
        System.out.println("Hello! This is the AHA Program of Jalosjos,             Parreno and Alfonso");
        System.out.println("Please type the letter of your option");
        boolean loop  = false;

        while (loop != true) {
            showOptions();
            inputHandler();

            String contInput = reader.nextLine();
            if (contInput.equals("1")) {
                System.out.println("Input the name of Container 1: ");
                String ContInp1 = reader.nextLine();
                Container container1 = new Container(ContInp1);
                container1.printContainer();
            } 

            if (contInput.equals("2")) {
                System.out.println("Input the name of Container 2: ");
                String ContInp2 = reader.nextLine();
                Container container2 = new Container(ContInp2);
                container2.printContainer();
            }

            if (contInput.equals("3")) {
                System.out.println("Input the name of Container 3: ");
                String ContInp3 = reader.nextLine();
                Container container3 = new Container(ContInp3);
                container3.printContainer();
            }

            if (contInput.equals("4")) {
                System.out.println("Input the name of Container 4: ");
                String ContInp4 = reader.nextLine();
                Container container4 = new Container(ContInp4);
                container4.printContainer();

             }

             if (contInput.equals("5")) {
                 System.out.println("Input the name of Container 5: ");
                 String ContInp5 = reader.nextLine();
                 Container container5 = new Container(ContInp5);
                 container5.printContainer();
             }
        }
    }

    public static void showOptions() {
        System.out.println("A = Name Containers");
        System.out.println("B = Add Cans");
        System.out.println("C = Remove Cans");
        System.out.println("D = Display Cans");
        System.out.println("E = Quit");
        System.out.println("Type a Letter: ");
    }

    public static void inputHandler() {
        Scanner reader = new Scanner(System.in);

        String input = reader.nextLine();

        if(input.equals("A")) {
             System.out.println("There are 5 containers.. What container 
          will you name? ");
             System.out.print("Type the number of your container: ");
        }

        if (input.equals("B")){
            System.out.println("Which container will you use?: ");
            System.out.print("Type a number for the container: ");
            String contforAdd = reader.nextLine();

            if (contforAdd.equals("1")) {
                System.out.println("How many cans will you add?: ");
                int numofCans1 = Integer.parseInt(reader.nextLine());

                for (int i = 0; i < numofCans1; i++) {
                    System.out.print("Enter the name of Can " + (i+1) + " : ");
                    String CanName = reader.nextLine();
                    container1.AddCan();
                }
            }
        }
    }   
}

```

HERE IS THE OTHER CLASS FOR THE OBJECT & CONSTRUCTORS

```
import java.util.ArrayList;
import java.util.Scanner;

public class Container { 
    Scanner reader  = new Scanner(System.in);
    public ArrayList<String> CanContainer = new ArrayList<String>();
    public int Contsizep;
    public String contName;

    public Container(String contname){
        this.contName = contname;
    }

    public void AddCan(String CantoAdd) {
        this.CanContainer.add(CantoAdd);
    }

    public void printContainer() {  // for OPTION A ONLY
        System.out.println("NAME SUCCESSFUL: **" + contName +"**");
    }
}

```

they cannot find the symbol "container1" because it's not declared inside the scope.. I have no idea in declaring it outside