Which demonstrates inheritance?
A. class A extends B { }
B. class A this B { }
C. class A super B { }
D. class A implements B { }
Answer:A
Which demonstrates inheritance?
A. class A extends B { } B. class A this B { } C. class A super B { } D. class A implements B { }