下述顺序存储结构的优点是()。
A.删除运算方便
B.存储空间利用率高
C.插入运算方便
D.可以方便地运用到各种逻辑结构的存储表示中
A.删除运算方便
B.存储空间利用率高
C.插入运算方便
D.可以方便地运用到各种逻辑结构的存储表示中
第1题
阅读下面的程序: public class Person{ int arr[ ]=Hew int[10]; public static void main(String args[ ]){ System.out.println(arr[1]); } } 正确的说法是______。
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出为0
D.输出为空
第2题
阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); } } 正确的说法是()。
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
第3题
阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println (arr[1]); } } 正确的说法是()。
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
第4题
阅读下列代码后public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); }}正确的说法是
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
第5题
阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); } } 正确的说法是
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
第6题
阅读下面代码 public class Person { static int arr[]=new int[10]; public static void main(String args) { System.out.println(arr[9]); } } 该代码的运行结果是
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
第7题
阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); } } 正确的说法是()。
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
第8题
阅读下列代码后 public class Person{ int arr[]=new int[10]; public static void main(String args[]){ System.out.println(arr[1]); } } 正确的说法是()。
A.编译时将产生错误
B.编译时正确,运行时将产生错误
C.输出零
D.输出空
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!