Access modifiers in java
HI friends,
Can we write abstract with static method?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
AartiPosted Dec 26, 2011, 3:02 AM
The abstract methods are implicitly virtual. Abstract methods require an instance, but static methods do not have an instance. So, you can have a static method in an abstract class, it just cannot be static abstract (or abstract static).
VulpesPosted Oct 13, 2011, 1:55 PM