Answer :
Yes, If the method is declared virtual under a class. Any child class a linear Hierarchy and has change to override the method.
Examples :
class sealedmethod
public virtual void show()
class sealedmethod1 : sealedmethod
public override void show()
class sealedmethod2 : sealedmethod1
public override void show()
Yes, If the method is declared virtual under a class. Any child class a linear Hierarchy and has change to override the method.
Examples :
class sealedmethod
public virtual void show()
class sealedmethod1 : sealedmethod
public override void show()
class sealedmethod2 : sealedmethod1
public override void show()
No comments:
Post a Comment