In the below code how ArrayList is helping the code to make childrens? will the ArrayList named children be containing data and ArrayList itself?

前端 未结 0 531
野趣味
野趣味 2021-01-12 06:44

public class TreeNode
{
public Object data;
public ArrayList children; // this

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