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

多項選擇題

package sun.scjp; 
public enum Color { RED, GREEN, BLUE } 
package sun.beta; 
// insert code here 
public class Beta { 
Color g = GREEN; 
public static void main( String[] argv) 
{ System.out.println( GREEN); } 
} 
The class Beta and the enum Color are in different packages. 
Which two code fragments, inserted individually at line 2 of the Beta declaration, will allow this code to compile?()

A. import sun.scjp.Color.*;
B. import static sun.scjp.Color.*;
C. import sun.scjp.Color; import static sun.scjp.Color.*;
D. import sun.scjp.*; import static sun.scjp.Color.*;
E. import sun.scjp.Color; import static sun.scjp.Color.GREEN;

題目列表

你可能感興趣的試題

微信掃碼免費搜題