Getting Started with Adobe After Effects - Part 6: Motion Blur
This module helps you to share, discuss and learn interview questions and answers of different technologies

Can we define abstract class as a static?

Jun 17 2012 12:00AM by Kirti M.Darji   

Question

Can we define abstract class as a static?

Answer

No, We can not define abstract class as static.

Reason: (Thanks to Olga Medvedeva reply)

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 too. But static methods cannot be inherited or overridden, and that is why they can't be abstract.

Read More..   [240 clicks]

Published under: C# Interview Questions and Answers ·  ·  ·  · 


Kirti M.Darji
10 · 16% · 4985
0
Liked
 
0
Asked



Submit

Your Comment


Sign Up or Login to post a comment.

"Can we define abstract class as a static? " rated 5 out of 5 by 6 readers
Can we define abstract class as a static? , 5.0 out of 5 based on 6 ratings
    Copyright © Rivera Informatic Private Ltd Contact us      Privacy Policy      Terms of use      Report Abuse      Advertising      [ZULU1097]