Which of the following statement is true about given code?
public abstract class A
protected abstract int M();
public class B:A
public override int M()
We can not create protected Abstract methods.
Code will be compiled successfully.
Overriding method must be declared as protected.
Class B must be declared as abstract.
We can declare abstract method as protected but while overriding we should not change the access modifier
Back To Top