Click here to Skip to main content
15,893,487 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Can we define abstract class as a static?
Posted
Comments
Himanshu Yadav 7-Dec-12 6:58am    
No we can not define

No,, because
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.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900