It looks as if your try to complete some a skeleton some gave you. In parse() you need to parse the data using the File object, create a new TreeNode and call search(). What is search() supposed to accomplish? Is it searching through the tree? If so, then you should be sending the root node as an argument.
No comments:
Post a Comment