public String levelorder()
    {
        ListQueue listqueue = new ListQueue();

        BKnoop<E> temp = this;

        String levelorder = "";

        while(temp != null)
        {
            levelorder = levelorder + temp.toString();

            if(temp.getLeftChild() != null)
            {
                listqueue.enqueue(temp.getLeftChild());
            }

            if(temp.getRightChild() != null)
            {
                listqueue.enqueue(temp.getRightChild());
            }

            if(listqueue.isEmpty())
            {
                temp = null;
            }
            else
            {
                temp = (BKnoop<E>) listqueue.dequeue();
            }
        }

        return levelorder;
    }