A:开发Java程序的步骤包括:编写源程序、编译、运行
B:编写的Java源程序文件使用,java作为扩展名
B:Java源文件经编译后,生成后缀为,class的字码运行
D:使用java命令可以编译,java文件
正确答案是D

A在面向对象的程序设计中,如果把动物表示类,则带某种颜色等特征的某种猫、某种狗等可以是动物的对象
B在面向对象的程序设计中,类是程序的基本单位
C类和对象是一回事,类就是对象,对象就是类
D Student s=new Student();
上述语句创建了类Student的对象
正确答案是C

A.m.length();
B.m.length();
C.m.length()-1
D.m.length+1
正确答案是B

(选择一项)
A:输出* **
B:输出* ** ***
C:死循环
D:输出*

(选择一项)
A:welcome
B:编译错误
C:welcome bdqn!
D:编译通过,运行时报错
正确答案是C

(选择一项)
A:void
B:int
C:char
D:double
正确答案是D

(选择一项)
A:****
***
**
*
B:*
**
***
****
C: *
**
***
****
D: *********
*********
*********
*********
正确答案是A

(选择一项)
A:str.length(),str[i].chatrAt(2)
B:str.length,str[i].chatrAt(2)
C:str.length(),str[i].chatrAt(1)
D:str.length,str[i].chatrAt(1)
正确答案是D
(选择一项)
A:此Java的数组中共有1个偶数
B:此次Java的数组中共有2个偶数
C:此Java的数组中共有3个偶数
D:编译错误
正确答案是A

(选择一项)
-
A:
-
B:
-
C:
-
D:
正确答案是A

(选择一项)
(选择一项)
46
-
A:
-
B:
-
C:
-
D:
-
Scanner input =new Scannner(System.in)
- score.sort();
正确答案是B
(选择一项)
A:from top null null
B:null from null update
C:编译错误
D:运行错误
正确答案是B