p***p 发帖数: 559 | 1 51. Which correctly create an array of five empty Strings?
A. String a[] = new String[5];
for (int i=0;i<5;a[i++]=””);
B. String a []={“”,””,””,””,””};
C. String a[5];
D. String [5] a;
E. String [] a = new String[5];
for (int i = 0 ;i<5;a[i++] = null);
52. Which cannot be added to a Container?
A. an Applet
B. a Component
C. a Container
D. a MenuComponent
E. a panel
53. Which is the return value of Event listener?s method?
A. String B. AWTEvent C. void D. int
54. If we implements MouseListener, w |
|