6
Reply

Can we call static method from abstract class?

Keyur Patel

Keyur Patel

10y
4.1k
1
Reply

    yes

    Yes, Static Method can be called from abstract method. Object of abstract class can't be created but to call static object is not required. So Static method can be called from abstract class.

    Yes, we can call static method from abstract class.abstractClassObject.StaticMethod()

    Yes, we can call static method from abstract class. Here is the example. public abstract class TestAbstract { public static string test() { return "Yes we can call static method from abstract class"; } } Calling part =========== class Program { static void Main(string[] args) { string test = TestAbstract.test(); } }

    Yes

    yes