C => is incorrect x() can't has weaker access privileges
D= > only needs implement z because in superclass is abstract in position /*1 *! nothing is need
answer : D
class C implements interface A
And method x() comes from class B
abstract class B {
public void x() {}
public abstract void z();
}
class C extends B implements A {
public void z() {}
}
--------
C is wrong
method x() in class C can not has weaker access privileges
A and B are wrong too
@Override on position 2 is not good
There is no super class for class B
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.
cathDev
3 months, 3 weeks agoASPushkin
5 months, 2 weeks agoSamps
6 months, 1 week agod7bb0b2
6 months, 1 week agoASPushkin
7 months, 4 weeks agodilleman
9 months, 2 weeks ago[Removed]
10 months, 3 weeks agoStavok
12 months agoKiraguJohn
1 year agoAdel2023
12 months ago