Computer Science, asked by kingvikash14, 1 month ago

Can abstract class have static methods in C#?​

Answers

Answered by BhumeshBaniya
0

Answer:

Yes, abstract class can have Static

Abstract classes contain abstract methods that should be implemented in derived classes. static keyword in class definition means that all methods in the class are static as well. But static methods cannot be inherited or overridden, and that is why they can't be abstract.

Explanation:

Mark me as brainlist

Similar questions