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
What is the difference between a method and a function in alice?
What is the use of coding?
Explain yield() method in thread class ?
What’s the difference between constructors and other methods?
How to invoke external process in java.
How do you represent a space in regex java?
Which is better stringbuffer or stringbuilder?
Difference between java and javascript
Can java list be null?
Explain public static void main(string args[]) in java.
Is double bigger than float?
What is the use of hashmap in java?
What are basic keywords?
What is variable length arguments in java?
Explain static nested classes ?