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
What are benefits of java?
What is the use of flag?
What is the difference between the direct buffer and non-direct buffer in java?
Why do we use regex?
why java uses class level type casting ?
Write a java program for binary search?
What are the java ide’s?
What is thread count in java?
What is the difference between iterator and enumeration ?
What is package protected in java?
What is the difference between call by reference and call by pointer?
Why do we need data serialization?
What is the implementation of destroy method in java. Is it native or java code?
What is Java Reflection API? Why it’s so important to have?
Give an example of use of pointers in java class.