多选题 Given:
2. public class Internet {
3. private int y = 8;
4. public static void main(String[] args) {
5. new Internet() .go();
6. }
7. void go() {
8. int x = 7;
9. TCPIP ip = new TCPIP();
10. class TCPIP {
11. void doit() {System.out.println(y + x);
12. }
13. ip.doit ();
14. }
15. }
What is the result? (Choose all that apply.)
【正确答案】 D、F
【答案解析】