utput D. this code runs and “constructor” in the standard output E. this code runs and writes ”null” in the standard output
30. What use to position a Button in a Frame ,only width of Button is affected by the Frame size, which Layout Button well be set ? A. FlowLayout; B. GridLayout; C. North of BorderLayout D. South of BorderLayout E. East or West of BorderLayout 31. What use to position a Button in a Frame, size of Button is not affected by the Frame size, which Layout Button will be set? A. FlowLayout; B. GridLayout; C. North of BorderLayout D. South of BorderLayout E. East or West of BorderLayout
32. An AWT GUI under exposure condition, which one or more method well be invoke when it redraw? A. paint(); B. update(); C. repaint(); D. drawing();
33. Select valid identifier of Java: A. userName B. %passwd C. 3d_game D. $charge E. this
34. Which are Java keyword? A. goto B. null C. FALSE D. native E. const
35. Run a corrected class: java ?Ccs AClass a b c Which statement is true? A. args[0]=”-cs”; B. args[1]=”a b c”; C. args[0]=”java”; D. args[0]=”a”; E. args[1]=?b? 36. Give the following java class: public class Example{ static int x[]=new int[15]; public static void main(String args[]){ System.out.println(x[5]); } } Which statement is corrected? A. When compile, some error will occur. B. When run, some error will occur. C. Output is zero. D. Output is null.
37. Give the following java class: public c上一页 [1] [2] [3] [4] [5] [6] 下一页 |