我也是不懂怎样做,大家做完可以在下面分享答案
1.
Which of the following are outputs?
import java.util.*;
public class Main {
public static void main(String[] args) {
Locale locale = Locale.US;
System.out.println("Country: " + locale.getCountry());
System.out.println("Full Name: " + locale.getDisplayCountry());
System.out.println("Language: " + locale.getLanguage());
System.out.println("Full Language: " + locale.getDisplayLanguage());
}
}
Answer: A, B, D
2.
Answer: B, C
3.