public static void main(String[] args) { Object str1 = null; String str2 = null; str2=str1+""; 不報錯 static
str2 =str1.toString() 報錯 } void