I am implementing trees and when i am declaring Node class in the treeSize class I get an error

前端 未结 0 757
盖世英雄少女心
盖世英雄少女心 2021-02-13 17:04

Here when i create Node class in treeSize class i get an error when i write a.root= new Node(1) but when my Node class is outside the treeSize class i don\'t get any error??

相关标签:
回答
  • 消灭零回复
提交回复
热议问题