您现在的位置:在线题库 >> 计算机类 >> JAVA程序设计
  • ID:9110-1524

    根据以下各项错误提示分析错误原因

    ①.cannot assign a value to final variable number

    ②.java.lang.ArithmeticException: / by zero

    ③.non-static variable c cannot be referenced from a static context


  • 相关试题查看更多

  • ID:9110-1515
    面向对象程序设计最突出的特点是

    查看解析

  • ID:9110-11058

    Java Application程序中只能包含一个公有类,其中必须包含一个且只能有一个静态型main()方法函数。(

    选择答案:查看解析

  • ID:9110-11543

    给出下面代码:

    public class test{

       static int a[] = new a[10];

       public static void main(String args[]) {

        System.out.println(arr[10]);

       }

      }

    下列选项正确的是(

    A. 编译时将产生错误; B. 编译时正确,运行时将产生错误;

    C. 输出零; D. 输出空。

    查看解析

  • ID:9110-1551

    类变量与实例变量的区别?

    查看解析

  • ID:9110-11043

    使用两个下标的数组被称为数组,假定有如下语句:

    float scores[ ][ ] = { {123}{45}{6789} }

    scores.length的值为: scores[1].length的值为:

    scores[1][1]的值为:

    查看解析