A. 32 B. 64 C. 16 D. 20
A.int[] a = new int[][3]{{1,2,3}}; B.int[] a = new int[]{1,2,3}; C.int[] a = new int[]{1,'A',4.7}; D.int[] a = new int[3]{1,'A',4};
A.程序執(zhí)行,屏幕上顯示“數(shù)組下標(biāo)越界” B.程序出現(xiàn)異常,屏幕上提示出現(xiàn)數(shù)組下標(biāo)越界異常 C.程序正常執(zhí)行結(jié)束,屏幕上顯示數(shù)組中每個(gè)元素的值 D.程序編譯出錯(cuò)
A.Pet pet1 = new Pet("文文"); B.Dog dog1 = new Dog("旺財(cái)"); C.Pet pet2 = new Dog("來福"); D.Dog pet1 = new Pet("文文");
A.getter方法B.setter方法C.自定義賦值方法D.靜態(tài)方法
A.A B.B C.C D.D