Given:
1. interface A { }
2. interface B { void b(); }
3. interface C { public void c(); }
4. abstract class D implements A,B,C { }
5. class E extends D {
6. void b() { }
7. public void c() { }
8. }
Which is true?
A.
Compilation fails due to an error in line 6.
B.
The code compiles without error.
C.
Compilation fails due to an error in line 2.
D.
Compilation fails due to an error in line 4.
E.
Compilation fails due to an error in line 1.