Hello again,
Im getting an error on the 4th line (node leftChild) of this Node code snippet.
Error: cannot find symbol
symbol: class node
location: class node
Is there a different way to declare nodes? or is there a syntax error?
Thanks in advance!
Im getting an error on the 4th line (node leftChild) of this Node code snippet.
Error: cannot find symbol
symbol: class node
location: class node
Is there a different way to declare nodes? or is there a syntax error?
Thanks in advance!
class Node
{
int iData;
float fData;
node leftChild;
node rightChild;
public void displayNode()
{
// method body
}
}