Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Binary Tree Search

807569May 19 2006 — edited May 20 2006
Hi everyone,
I have an assignment :Implement a binary search tree class. Include preOrder, inOrder, postOrder traversals, as well as methods to perform insert and search.
And I did it in the folloiwng but there some problems that I encounter.When I execute the following code, there is an exception occurs. It says that my left BinaryTree is null. So why ???
Implement a binary search tree class. Include preOrder, inOrder, postOrder traversals, as well as methods to perform insert and search
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 17 2006
Added on May 19 2006
7 comments
242 views