B is correct=> so reference AbilityB ab = new Test(); is pointed to Test and test has method override this is called.
In java real objetct (not reference OR TYPE AbilityB ) is pointed to method that is override by subclass
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
ASPushkin
7 months agomendjijet
12 months agod7bb0b2
1 year agoOmnisumem
1 year, 4 months ago[Removed]
1 year, 5 months agoeldonivan
1 year, 5 months agotmuralimanohar
1 year, 7 months agoKiKittyKi
1 year, 7 months agoStavok
1 year, 8 months agod7bb0b2
1 year agoObalt
1 year, 12 months ago