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
Which CRM is better to opt, Sebiel CRM or Salesforce CRM or sap CRM? which institute is best one in hyderabad
will it allow to add same value in HashMap class.
What are the Short cut Keys of Tally ERP?
how do i add a column dynamically in a table by using java application?
write a query that returns one row for each department and the number of employees in that department. Given two tables EMPLOYEE and DEPARTMENT, where there can be multiple employees per department.
Write a program to find whether a given number is prime or not.
is it possible to desable particular parameter of the normal orcle report based on some condition ?????? if yes,wht is the function for desabling a parameter...
Explain three modes in which files can be accessed from python program
what are all the ant command options
I want to pass .pdf files as OlE Object to crystal report through VB6. Please any one guid me...
Define Form modules, Class modules and Standard modules
How do you pass variables forwrd to future CECI sessions
how do i create my own exception class which will restrict IO exception?
Compare any 4 software development life cycle paradigms with each other. Indicate at least one application for each of the paradigms that are suitable to developed using that paradigm.
Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?