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.
About Question enthuware.ocajp.i.v7.2.1287 :
Moderators: Site Manager, fjwalraven
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocajp.i.v7.2.1287 :
You are right. The explanation has now been updated.
thank you for your feedback!
thank you for your feedback!
Who is online
Users browsing this forum: No registered users and 20 guests