单项选择题

Given:
2. public class Jail {
3. private int x=4;
4. public static void main (String[] args) {
5. protected int x=6;
6. new Jail() .new Cell() .slam();
7. }
8. class Cell {
9. void slam() {System.out.println ("throw away key" + x); }
10. }
11. }
Which are true (Choose all that apply.)

A.Compilation succeeds.
B.The output is "throw away key 4".
C.The output is "throw away key 6".
D.Compilation fails due to an error on line 5.
E.Compilation fails due to an error on line 6.
F.Compilation fails due to an error on line 9.