[求助]关于定义TextBox数组的问题
TextBox tbox[] = new TextBox[6];tbox[0] = new TextBox("文本编辑1", "", 100, TextField.ANY);
tbox[1] = new TextBox("文本编辑2", "", 100, TextField.EMAILADDR);
tbox[2] = new TextBox("文本编辑3", "", 100, TextField.NUMERIC);
tbox[3] = new TextBox("文本编辑4", "", 100, TextField.PHONENUMBER);
tbox[4] = new TextBox("文本编辑5", "", 100, TextField.URL);
tbox[5] = new TextBox("文本编辑6", "", 100, TextField.DECIMAL);
这么写为什么会报错?