Which of the following statement is true about given code?
public abstract class A
protected abstract virtual int M();
public abstract class B:A
public abstract override int M();
Code will be compiled successfully.
Inherit the another class from B class to give implementation for M().
M() method in B class should have implementation and it is can not be abstract.
An abstract method can not be virtual.
We can not use virtual keyword while using abstract because abstract means implicitly equals to virtual.
Back To Top