0
Is abstact class accept overloading method?
Is abstact class accept overloading method? If yes how to do that? I can do that by base class with virtual. However, i tried to do that by abstact and i fail
3 Respuestas
+ 1
I don’t see why not. Just do it however you do it with regular classes:
abstract class A {
abstract doSomething();
abstract doSomething(int x);
abstract doSomething(int x, int y);
}
0
thank you for your answer
yes, you are right. we can do that.
we must rewrite evary abstract method in all devided class
0
For some reason I thought you are asking about Java. I’m not familiar with C#, but glad I helped!