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

    对象是一个抽象的概念,世界上任何事物都可以是对象。( )

    选择答案:

  • 相关试题查看更多

  • ID:9110-11591

    可以用abstract修饰构造方法。( )

    选择答案:查看解析

  • ID:9110-1141

    Java中,可以使线程运行的方法是( )。
    Ainit() Bsleep() Cstart() Dresume()

    查看解析

  • ID:9110-11042

    以下程序执行后的输出为

    public class Test

    { static int m1(int a ,int b){

    int c;

    a+=a;

    b+=b;

    c=m2(a,b);

    return(c*c); }

    static int m2( int a,int b) {

    int c;

    c=a*b%3;

    return( c );

    }

    public static void main(String[] args){

    int x=1,y=3,z;

    z= m1(x,y);

    System.out.println("z="+z);

    }
    }

    查看解析

  • ID:9110-11561

    什么是继承?继承有什么意义?如何定义继承?

    查看解析

  • ID:9110-1134

    Java中,假设我们有一个实现ActionListener接口的类,以下方法( )能够为一个Button类注册这个类。

    AaddListener( ) BaddActionListener( )

    CaddButtonListener( ) DsetListener( )

    查看解析