我正在使用Netbeans。 當我運行下面的程序,我得到這個輸出[[email protected]!怎麼來的? import java.util.Arrays;
import java.util.Vector;
public class Test {
public static void main (String[] args) {
int[] a = new int[1];
我an answer to another question看到這種情況,在參考了Java規範的不足之處: 有更多的缺點,這是一個微妙的話題。檢查this出: public class methodOverloading{
public static void hello(Integer x){
System.out.println("Integer");
}