Difference between abstract class and Interfaces in Java
Answer Posted / manish sharma
Abstract classes Interfaces
Abstract classes are used only when there is a “is-a” type
of relationship between the classes. Interfaces can be
implemented by classes that are not related to one another.
You cannot extend more than one abstract class. You can
implement more than one interface.
Abstract class can implemented some methods also.
Interfaces can not implement methods.
With abstract classes, you are grabbing away each class’s
individuality. With Interfaces, you are merely extending
each class’s functionality.
| Is This Answer Correct ? | 24 Yes | 4 No |
Post New Answer View All Answers
Given an array of size n. It contains numbers in the range 1 to n. Find the numbers which aren?t present.
hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry
Hi guyes, I have cleared 2 technical rounds with cts for liferay and java techonologies, i have client round next week, please tell me how to prepare for this what questions i should be ready to face?
< DL Compact > tag is used for
what is the current salary package in India for a lamp programmer
If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com
How to call dll API sub routine in VB Form.
Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?
What is the difference beween joblib and steplib statements
can we use commit,rollback in triggers and how?
Is the IT field raise again? What is the position of IT after 4 years?
diffrence between oracle apps , .NET , SAP
it is a language or tools?
i am getting the error while compiling my cics program with including db2 dclgen member it is showing that ur dclgen member not including and all the host variables are undeclared
I am taking the bmc control m/enterprise manager 7.0 scheduling test and just wanted to see what kind of questions they would ask or if anyone has taken the test and how long it is for how many questions?