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

單項選擇題

interface Beta {} 
class Alpha implements Beta { 
String testIt() { 
return “Tested”; 
} 
} 
public class Main1 { 
static Beta getIt() { 
return new Alpha(); 
} 
public static void main( String[] args ) { 
Beta b = getIt(); 
System.out.println( b.testIt() ); 
} 
} 
What is the result?()  

A. Tested
B. Compilation fails.
C. The code runs with no output.
D. An exception is thrown at runtime.

微信掃碼免費搜題