当前位置: 技术问答>java相关
SCJP的请看过来!!!此题的正确答案为????
来源: 互联网 发布时间:2015-03-30
本文导语: Choose all true statements about the paint() method defined in the Component class: Select all valid answers. a) it is protected b) it takes an instance of class Graphics c) it is static d) it is invoked automatically whenever you minimize and ...
Choose all true statements about the paint() method defined in the Component class:
Select all valid answers.
a) it is protected
b) it takes an instance of class Graphics
c) it is static
d) it is invoked automatically whenever you minimize and then maximize a component, such as a window
e) there is also a version that takes an int
answer
我认为选B、D,但没有把握,大家帮忙看看,呵呵!
Select all valid answers.
a) it is protected
b) it takes an instance of class Graphics
c) it is static
d) it is invoked automatically whenever you minimize and then maximize a component, such as a window
e) there is also a version that takes an int
answer
我认为选B、D,但没有把握,大家帮忙看看,呵呵!
|
B D
|
public void paint(Graphics g)
选db
查一下jdk把,好象没有paint(int i)
选db
查一下jdk把,好象没有paint(int i)
|
应该是BD了
|
查查文档不就能确定了。B D
|
bd
|
b,d
|
bd