📜  修复所有“隐式调用数组”.toString() 问题 - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:12.208000             🧑  作者: Mango

代码示例1
import java.util.Arrays;
public class Test {  
public static void main(String[] args) { 
String[] words = new String[0];  
String[] types = new String[0]; 
System.out.println("words = " + words); 
System.out.println("types = " + Arrays.toString(types)); 
}}