Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Node node = new Node();
- node.getHeight();
- public int getHeight(){
- // calculate height
- return height;
- }
- node.getData();
- node.getRightChild();
- cannot find symbol
- symbol: method getHeight()
- location: variable node of type Node
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement