Which methods must be overridden

Report a typo

Here's a hierarchy consisting of three classes A, B and C. The class C is incomplete.

abstract class A { 
    
    public static void staticFoo() { }
    
    public void instanceBar() { }
    
    public abstract void abstractFoo();
    
    public abstract void abstractBar();
}

abstract class B extends A { 
    
    public static void anotherStaticFoo() { }
    
    public void anotherInstanceBar() { }

    @Override
    public void abstractBar() { }
    
    public abstract void qq();
}

class C extends B { }

Select all methods which should be overridden in the class C.

Select one or more options from the list
___

Create a free account to access the full topic