About Question enthuware.ocajp.i.v7.2.1287 :
Posted: Tue Dec 11, 2012 3:35 pm
Hi,
Explanation provided for last option is - "B2 will inherit m1() from A. So this is valid."
But doesn't B2 have its own m1() and so wont that be invoked?
As the Q. states "Assume that method public void m1(){ ... } is defined in all of these classes EXCEPT B1 and C1. "
Thanks.
Explanation provided for last option is - "B2 will inherit m1() from A. So this is valid."
But doesn't B2 have its own m1() and so wont that be invoked?
As the Q. states "Assume that method public void m1(){ ... } is defined in all of these classes EXCEPT B1 and C1. "
Thanks.