what is difference between abstraction and interface?
Answer Posted / chandra rekha
A class becomes an abstract class when it has atleast one
abstract method(a method with no definition).The major
difference between abstract classes and interfaces is that
an abstract class can contain both methods with zero
definition as well as methods with definition.But an
interface is one in which all the methods are with no
definition.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
I want to persist data of objects for later use. What’s the best approach to do so?
What is null in java?
What are the basic control structures?
What is difference between c++ and java ?
What does void * mean?
What is the purpose of an interface?
Is constructor inherited?
Are static members inherited to sub classes?
What is generics in java interview questions?
What are the differences between checked exception and unchecked exception?
What is console based application in java?
Explain exception chaining in java?
what is the difference between a threads start() and run() methods? : Java thread
Is age a discrete variable?
How do you calculate roots in java?