日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項(xiàng)選擇題

import java.awt.*;  
public class Test extends Frame {  
public Test() {  
add(new Label(“Hello”) );  
add(new TextField(“Hello”) );  
add(new Button(“Hello”) );  
pack();  
show();  
 }  
public static void main(String args) {  
new Test ();  
}  
}  
What is the result? () 

A. The code will not compile.
B. A Window will appear containing only a Button.
C. An IllegalArgumentException is thrown at line 6.
D. A Window button will appear but will not contain the Label, TextField, or Button.
E. A Window will appear containing a Label at the top, a TextField below the Label, and a Button  below the TextField.
F. A Window will appear containing a Label on the left, a TextField to the right of the Label, and a button to the right of the TextField.

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題