Q58.Which interface implementations can you add as listeners for a TextField object? Select all valid answers.
9 o6 w+ s+ p/ D+ i8 B) Z" @ a. ActionListener
: A- |! Z" a' T" } b. FocusListener
: ?! m4 t: G' l+ { c. MouseMotionListener
: x L4 k8 e+ v0 t, Z$ r d. ContainerListener% n- Y$ B/ W i
Q59.Which statements accurately describe the following line of code?
5 S; M1 T7 Q0 n2 h# {2 B3 ^* d String s[][] = new String[10][];; X! J" q6 H6 _7 {, C- f) J3 U9 [
Select all valid answers.
" Z6 ~% g$ B# F+ Z- T" Y6 J6 z- Z a. This line of code is illegal.+ [+ g; ` ]& s2 K
b. s is a two dimensional array containing 10 rows and 10 columns." i" W( D" s- e( V: m0 H$ u% c9 b
c. s is an array of 10 arrays.7 K3 Z. l: ~% u2 X1 Z
d. Each element in s is set to ““.
, i! s) i. |) z& s3 Q Q60.To force a layout manager to re-layout the components in a container, you can invoke the container method called5 t; ]7 f z1 {. m9 r
a. validate()4 h) v. a9 T% N1 [
b. repaint()$ i8 i$ O" s Z4 ~
c. layout()
# j. @5 [0 b# d d. update();( J# b- }1 Z% O- U K5 x
58. abc+ ^$ m V4 h- \
59. c, d# v# l: X* G- s# k, }) M! w
60. a |