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 variable length arguments in java?
What are the basics of core java?
Can we have a try block without catch block?
Differentiate between run time error and syntax error.
What are operators and its types?
How does list work in java?
how is final different from finally and finalize in java?
What type of value does sizeof return?
Is special character in java?
How can we find the actual size of an object on the heap?
Can a class be private in java?
In how many ways we can create threads in java?
When should you make a function static?
Do we have pointers in java?
What are benefits of java?