I am working on a binary search tree in
Java and having some trouble figuring out what I have done. I have posted my code that seems to be problematic and the errors generated are at the bottom. Thanks.
---------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
Exception in
thread "main" java.lang.Error: Unresolved compilation problems:
The constructor take2(int) is undefined
The method input(int, node.BSTNode, boolean) is undefined for the type take2
The constructor take2(int) is undefined
The method input(int, node.BSTNode, boolean) is undefined for the type take2
The method pre(node.BSTNode) is undefined for the type take2
The method in(node.BSTNode) is undefined for the type take2
The method post(node.BSTNode) is undefined for the type take2
The method pre(node.BSTNode) is undefined for the type take2
The method in(node.BSTNode) is undefined for the type take2
The method post(node.BSTNode) is undefined for the type take2
The method last(node.BSTNode) is undefined for the type take2
at take2.main(take2.java:11)