Q109 Which JDK 1.1 interface is the Iterator interface intended to replace? A Runnable
5 P2 D' \' v# ]4 [1 n7 x/ G9 U B Throwable
$ q& R5 Z$ V- I3 [( M# ~, a C Enumeration
- O ^1 C5 q7 ? D List转自:考试网 - [Examw.Com]5 y0 n# T2 Y( t- ?9 S
Q110 Which of the following are thread states?
( u! l1 E7 s+ G9 b5 { A ready8 b) N0 K, g- h" K: i
B running
2 |& W- n8 F1 U7 e; u( U, E; { C open
) a/ I9 K& P1 N' d& d: E, U D waiting
* \* b5 w9 ?6 l4 S- ~ ] E dead
9 v9 q$ i d* ]# l w; [ F unwound' Y' G4 J8 G. J1 [, X% F, X# j$ f
Q111 Which of the following are true about Observer and Observable?/ Q0 t( }) @ Y3 H3 }& W
A Observer is an interface and Observable is a class.6 E J" D% J2 B! m8 @/ A7 o# p
B When an Observable object is updated it invokes the update() method of its
7 h# H2 P5 v8 ~: t7 \' |6 a* o) V observers.5 C) ?4 c* I) L' Y, `+ A, c6 U# l/ @
C Observable objects must be GUI components.1 |8 s# R9 S; k D- u8 C
D They are in the Collections API.
! L& u/ Q, {: |! I0 g Q109 C
2 a2 q0 C. p$ p, k5 K/ ^+ t Q110 ABDE
0 h0 A- S3 s% d8 x, G; o$ j Q111 AB |