多选题
Given:
2. class Car {
3. private Car() { }
4. protected Car(int x) { }
5. }
6. public class MG extends Car {
7. // MG(int x) { }
8. // MG(int x) {super(); }
9. // MG(int x) {super(x); }
10. // private MG(int x) {super(x); }
11. // MG() { }
12. // MG() {this(); }
13. // MG() {this(6); }
14. // MG() {super(7); }
15. public static void main(String[] args) {
16. new MG(7);
17. new MG();
18. } }
Which sets of constructors can be uncommented for the code to compile? (Choose all that apply.)