I have this simple treeset.
 TreeSet<Fruit> treeSet = new TreeSet();
    try {
        treeSet.add(pear);
        treeSet.add(apple);
        treeSet.add(orange);
        System.out.println(treeSet);
    } catch (Exception e) {
        System.out.println(e.getMessage());
    }
when this compiles it prints it all out on the same line. How can i make it so it prints each object out on a different line?
 
     
    