Abstract class contains one or more unimplemented methods left for future implementation by its derived class.it has all property of class it cannot be instantiated.it provides default behaviour.
Interface is mear specification nothing is implemented its just a declaration.in java using interface we can model multiple inheritance. it provides design flexibility.
|
|
Inappropriate
|
See Answer
To Email:
Subject:
Note to go along with the question: (Optional, no
more than 1,000 characters)
Abstraction is not a process of hiding unwanted details from the user. It is process to identify the relevant characteristic of a class. Th goal of abstraction is to isolate thos aspect that are important for some purpose and suppress those that are not important.
Create Date
:
Saturday, March 15, 2008
Click here
to improve the Interview Question, Answer and other fields.