Can i have abstract class with no abstract methods?
Answer Posted / manoj
Yes, we can have a abstract class without a abstract method .
But in earlier version like jdk 1.1,it was necessary to have at least one abstract method inside abstract class then latter this restriction was removed by other versions.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain about serializable interface in java?
What is java abstraction with example?
What is the difference between sleep and wait in java?
What is the difference between hashset and treeset in java?
What is a nested class?
What is the difference between class forname and new?
Explain working of call by reference function invoking.
What is local declaration?
Can you extend singleton class?
Is string is a data type?
Are arrays immutable in java?
Why is java architectural neutral?
What is the difference between an object-oriented programming language and object-based programming language?
What is local variable and instance variable?
What are the access modifiers in java?