Answer Posted / janet
1.All the methods declared inside an interface are abstract
where as abstract class must have atleast one abstract
method and others may be concrete or abstract.
2.In abstract class ,keyword abstract must be used for the
methods where as interface we need not use that keyword for
the methods.
3. Abstract class must have subclass where as interface
can't have subclasses.
Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
How java enabled high performance?
What is use of inner class in java?
What is the difference between JDK and JVM?
What is a class variable?
What are the various access specifiers for java classes?
What is runtime locatable code?
How can an object be unreferenced?
What is super?
What is a vararg?
Is java se open source?
Why do we need variables?
What is the difference between assignment and initialization?
What is difference between equals and hashcode method?
What is the benefit of inner classes in java?
Do loops java?