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
how to data grid use in data bind?
1. How many jobs can we write in a single file? 2. How many maximum members can exist in a single partition data set(pds) in jcl?
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
Explain three modes in which files can be accessed from python program
What for decision coverage and modified condition decision coverage are used? Wat is the difference between them?
how many types of bytes are there???
Hi..Am done with my Masters recently..Am planning to learn TIBCO.. could anyone suggest me about how the job market will be and Is there any course necessary to learn prior to Tibco..i mean any prerequisite. I dnt have any knowledge on PL/SQL thats it... Plz suggest me in a best way...
1.Mutating table
how to work search engine? plz detail answer me.
In project we have Documentation phase also,in that what is micro and macro designing?
is it acceptable if we declare multiple exceptions in same overridden method.
what does mean and stack mean in genral programming?
Difference of Console, web & windows applications?
WHat is execution in manual testing and when will we start execution and what language we use in execution
When we use Windows authentication mode