标签: netbeans java-me
我的代码:
String [] temp; temp = {"one","two","three"};
我收到此错误:
Illegal start of expression, ';' expected.
答案 0 :(得分:4)
大括号,你使用它们的方式,只能在数组声明语句中使用。即。
String[] temp = {"one","two","three"};