Java认证
2014年Java认证SCJP模拟习题:SCJPMockExam(4)
日期:2013-10-31 14:12
Q21
What does the value returned by the method getID() found in class java.awt.AWTEvent uniquely identify?

1) The particular event instance.
2) The source of the event.
3) The set of events that were triggered by the same action.
4) The type of event.
5) The type of component from which the event originated.

Q22
What will be written to the standard output when the following program is run?

class Base {
int i;
Base() {
add(1);
}
void add(int v) {
i += v;
}
void print() {


1/5 下一页 上一页 首页 尾页

Java认证


返回 刷新 WAP首页 网页版 登录
04/28 18:50