易搜题 > 资格证大类 > 计算机编程 > 问题详情
问题详情

数组的下标超界将访问到未知的内存区域

A、对

B、错

未找到的试题在搜索页框底部可快速提交,在会员中心"提交的题"查看可解决状态。 收藏该题
查看答案

相关问题推荐

  • 如果想要一个类不能被任何类继承的话,需要使用哪个关键字来修饰该类?() 

    A、  abstract

    B、  new

    C、  static

    D、  final

  • A developer is creating a class Book that needs to access class Paper.The Paper class is deployed in a JARnamedmyLib.jar.Whichthree,taken independently,will allow the developer to use the Paper class while compiling the Book class?()

    A

    The JAR fileis located at$JAVA_HOME/jre/classes/myLib.jar.

    B

    The JAR fileis located at$JAVA_HOME/jre/lib/ext/myLib.jar.

    C

    TheJ AR fileis located at/foo/myLib.jar and aclasspath environment variable is set that includes /foo/myLib.jar/Paper.class.

    D

    The JAR fileis located at/foo/myLib.jar and a classpath environment variable is set that includes/foo/myLib.jar.

    E

    The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-cp/foo/myLib.jar/Paper Book.java.

    F

    The JAR file is located at/foo/myLib.jar and the Book class is compiled using javac-classpath/foo/myLib.jar Book.java.

  • 数组的长度可以通过以下哪个属性或方法得到?()  

    A、size

    B、length

    C、getSize()

    D、getLength()

  • 下面哪些类型实现了Comparable接口()

    A

    Integer

    B

    double

    C

    String

    D

    Object

  • public class Demo{   public static void main(String[] args){   List al = new ArrayList();   al.add(“1”);   al.add(“2”);   al.add(“2”);   al.add(“3”);   System.out.println(al);  }  }   上述程序执行后的输出是哪项?() 

    A、 [1,2,3]

    B、 [1,2,2,3]

    C、 [1,2,3,3]

    D、 [2,1,3,2]

联系客服 会员中心
TOP