填空题
在面向对象方法中,类之间共享属性和操作的机制称为
【2】
。
【参考答案】
继承
点击查看答案&解析
<上一题
目录
下一题>
热门
试题
单项选择题
下面的哪些程序段可能导致错误 ( ) Ⅰ:String s= Gone with the wind ; String t= good ; String k=s+t; Ⅱ:String s= Gone with the wind ; String t; t=s[3]+ one ; Ⅲ:String s= Gone with the wind ; String standard=s.toUpperCase(); Ⅳ:String s= home directory ; String t=s- directory ;
A.Ⅱ、Ⅲ
B.Ⅱ、Ⅳ
C.Ⅰ、Ⅳ
D.Ⅲ、Ⅳ
点击查看答案&解析
填空题
在一个有n个元素的顺序表的第i个元素(1≤i≤n)之前插入一个新元素时,需要向后移动 【1】 个元素。
点击查看答案&解析
相关试题
下列JApplet对鼠标单击事件进行处理,当鼠...
变量名、 【14】 首单词小写,其余单词...
Applet工作在图形方式下,向其中绘图、显示...
阅读下面代码:import java.awt.*;pub...
Java图形用户界面编程中的最基本组成部分是...