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
Why heap memory is called heap?
What are the characteristics of Final,Finally and Finalize keywords.
What is difference between static and abstract class?
What is meant by call by reference?
How do you clear a method in java?
Which containers use a flowlayout as their default layout in java programming?
how we can make a read-only class in java?
Explain why wait(), notify() and notifyall() methods are in object class rather than in the reading class?
Can we sort arraylist in java?
Does substring create a new object?
What are the types of strings?
Why parsing is done?
What is blank final variable?
What is mvc in java?
Can we clone singleton object?