Based on the demonstrated implementation of  LinkedBag1.  What is the output of the following code?

LinkedBag1 bag;
bag = new LinkedBag1();

bag.add("Alisha");
bag.add("Ashley");
bag.add("Ariel");

System.out.println(bag.toArray(new String[25])[0]);
Ariel
  • Nothing
  • Null
  • Alisha

There are no hints for this question