Just wondering what is wrong here. The code runs but I continue to get null! Would you be able to assist me on where I'm going wrong?

Much appreciated!

```
import java.util.Scanner;

public class StageA {

     String id;
     String name;
     String answer;

     int MAX_ITEMS = 5;
     int MAX_PATRONS = 0;
     int MAX_LOANS = 4;
     Item [] holdings = new Item [MAX_ITEMS];
     Patron [] Patrons = new Patron[MAX_PATRONS];
     int patronsCount = 0;
     Item i;

    static Scanner sc = new Scanner(System.in);

public StageA() {

}

public void addItem() {

        do
        {
            System.out.println("Add title");
            name = sc.nextLine();
            System.out.println("Add ID");
            id = sc.nextLine();
            System.out.println("Do you wish to continue (Y/N)");
            answer = sc.nextLine();

        } while (answer.equalsIgnoreCase("Y"));

        //create new Item object
        Item i = new Item(name, id);
         int holdingsCount = 0;
            holdings[holdingsCount] = i;
            holdingsCount++;

            System.out.println(holdings[holdingsCount]);            
        }

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        StageA newStage1 = new StageA();

        newStage1.addItem();
    }

}

```