what is difference between abstraction and interface?
Answer Posted / kavitha
Abstract classes define methods and interfaces declare
methods.
Interfaces declare methods without implementation.
Abstract classes are very much useful when there is a same
functionality across various classes.
Interfaces are useful for classes which varies in
functionality and with the same method signature.
| Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
What is a map? What are the implementations of map?
What are the methods to rectify ambiguities in the interfaces in JAVA?
What is arguments in java?
What is the synonym of framework?
What are the steps that are followed when two computers connect through tcp?
What are the steps involved to write rmi based programs?
What is a variable declaration?
Where pragma is used?
What is size of int in java?
What are the main uses of this keyword?
Explain 5 features introduced in jdk 1.7?
What is java used for on a computer?
What is final keyword?
Does java have a compiler?
Which container method is used to cause a container to be laid out and redisplayed in java programming?