prog.java:5: error: ')' expected TreeNode tree1 = new TreeNode( val: 5);

后端 未结 0 819
说谎
说谎 2021-01-20 04:11

import java.util.*; class Main{

public static void main(String[] args) {
    TreeNode tree1 = new TreeNode( val: 5);
    tree1.left = new TreeNode( val: 3);
         


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