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
how to prepare for IT Officers Interview in Banks
What is a module function?
Explain wait() method of object class ?
What are the restrictions imposed on method overriding?
What is boolean strategy?
What is api data?
Is upper case in java?
Which of the classes will have more memory allocated?
What is difference between equal and == in java?
What is the difference between the direct buffer and non-direct buffer in java?
what is the volatile modifier for? : Java thread
What is string data?
What are the benefits of operations?
What is slash r?
What is runtime polymorphism or dynamic method dispatch?