5、访问修饰符()可以放在第2行的aMethod()方法、第6行的aMethod()方法前。(1)class Father{(2)void aMethod(){}(3)}(4)(5)class Son extends Father{(6)void aMethod(){}(7)}
A. line (2):publicline(6):private
B. line (2):protectedline(6):private
C. line (2):protectedline(6):public
D. line (2):publicline(6):protected