多选题 Given:
2. public class Sunny extends Weather {
3. public static void main(String[] args) {
4. try {
5. new Sunny() .do1();
6. new Sunny() .do2();
7. new Sunny() .do3();
8. }
9. catch(Throwable t) {System.out.print("exc "); }
10. } }
11. class Weather {
12. void do1() {System.out.print("do1 "); }
13. private void do2() {System.out.print("do2 "); }
14. protected void do3() {System.out.print("do3 "); }
15. }
What is the result?
【正确答案】 D
【答案解析】