为什么这两个都是正确的,当用这种形式的时候,[]的位置除了不能放在数据类型前面其他地方都可以放吗?
String [] score = new String []{"Java","HTML","Ide","Orcal"}; String score [] = new String []{"Java","HTML","Ide","Orcal"};
String [] score = new String []{"Java","HTML","Ide","Orcal"}; String score [] = new String []{"Java","HTML","Ide","Orcal"};
2019-03-26
举报