Instances of (non-static) inner classes only exist in the context of an instance of the enclosing class. So before you made it static, you needed a TreeNodePlay object before you could create a TreeNode.
Thanks Matthew.
That makes complete sense. Honestly, I think the best pragmatic way to go about it would
be to just create a concrete class "TreeNode" on it's own. But I just wanted to get a grip
on accessing it from it's nested form, if I ever needed to do that.
Except for education, my app doesn't really serve a purpose. Hehe, I was actually in the middle of
learning about Linked Data Structures and Recursive Algorithms. But as i always do when I come
up on something that catches my curiosity with
Java, I digressed.
Thanks again!