发布网友
共1个回答
热心网友
什么语言?
java
例 :
String a =["str1","str2"]
String[] str = new String[a];
str = null;清空就行了
若str = "";只是空的字符给数组str