From within another class "BinaryTree" I'm
testing if an object "BinaryNode" is null, and if it is, initialize it using a constructor. My problem is, if i initialize it with the default constructor "BinaryNode()" it works, however if I use the overloaded constructor "BinaryNode(int x)" it doesnt. It gives me a cannot resolve symbol. Is my problem with access? Or is it a memory issue in
Java?
Here is the code for both classes, the problem is in bold:
BinaryTree class:
BinaryNode class: