多选题 Given:
2. public class Later {
3. public static void main(String[] args) {
4. boolean earlyExit = new Later().testl(args);
5. if(earlyExit) assert false;
6. new Later() .test2(args);
7. }
8. boolean test1 (String[] a) {
9. if (a.length == 0) return false;
10. return true;
11. }
12. private void test2(String[] a) {
13. if (a.length == 2) assert false;
14. } }
Which are true? (Choose all that apply.)
【正确答案】 D
【答案解析】