title: Printing out a Linked list
body: <p>When I try to print out my linked list of objects it gives me this:</p>
  
  <p>linkedlist.MyLinkedList@329f3d</p>
  
  <p>Is there a way to simply overide this to print as Strings?</p>
  
  <pre><code>package linkedlist;
  
  import java.util.Scanner;
  
  public class LinkedListTest {
  
      public static void main(String[] args) {
          Scanner keyboard = new Scanner(System.in);
          String item;
  
          MyLinkedList list = new MyLinkedList();
          System.out.println("Number of items in the list: " + list.size());
  
          Object item1 = "one";
          Object item2 = "two";
          Object item3 = "Three";
  
          list.add(item1);
          list.add(item2);
          list.add(item3);
  
          System.out.println("Number of items in the list: " + list.size());
  
          System.out.println(list);
  }
  </code></pre>