Study the three Java source files. Create a project in eclipse to run the code a
ID: 3834408 • Letter: S
Question
Study the three Java source files.
Create a project in eclipse to run the code and run it to see the output.
Then, modify the code in BinaryTreeNodes.java according to the following:
build a binary tree as the values are read from NodeVals.txt
print the inorder traversal of the tree using the routine in NodeUtilities.java
the internal order of the tree is represented by the diagram in the "Binary Tree.doc" file.
Note:
don't create variable names for each node so the program will work with varying input sizes (contrary to the sample file where the values are hard coded);
create a variable to hold the root node, and, a variable to address the node being visited/worked on.