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
Which is the best sorting technique in java?
How do constructors use this() and super()?
What does it mean to flush a file?
Compare java and python.
What is the difference between multiple processes and multiple threads?
Variables used in a switch statement can be used with which datatypes?
What are invisible components?.
Explain the features of java?
What is the difference between I ++ and ++ I in java?
State some situations where exceptions may arise in java?
Is arraylist ordered in java?
Detail discussions on JVM, memory management and garbage collector.
Can we pass null as argument in java?
What is the difference between the ">>" and " >>>" operators in java?
Why is the main method static?