赞题库-背景图
单项选择题

在面向对象方法中,不属于“对象”基本特点的是______。

A.一致性
B.分类性
C.多态性
D.标识唯一性
<上一题 目录 下一题>
热门试题

单项选择题阅读下面的程序段:public class Sun{public static void main(String args[ ]){int a=0for(int i=1;i<=3;i++){for(int j=1;j<-i;j++){ for(int k=j;k<=3;k++){ a=a+1;}}}System.out.println(A) 我;}}执行上面的3重循环后,a的值为____。

A.3
B.9
C.14
D.21

单项选择题阅读如下程序。import javax.swing. JOptionPang;public class BreakLabelTest{public static void main(String args[]) {String output= ;stop:{for(int row=1;row<=10;row++) {for(int column=1;column<=5;column++) {if(row==5)break stop;output+= ;}output+= n ;,}output+= nLoops terminated normally ;}JOptionPane.showMessageDialog(Null,output, 用一个标志测试break语句 ,JOptionPane.INFORMATION_MESSAGE);System.exit(0);}}程序运行结果是______。

A.窗口中有5行·····
B.窗口中有5行····
C.窗口中有4行·····
D.窗口中有6行·····