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
I HAVE DONE TESTING TOOLS COURSE,NOW I AM FRESHER,I AM NOT GETTING ANY CALLS,I WANT TO DO THE PROJECT ,WHERE I HAVE TO MEET TO DO THE PROJECT,I AM GOING WITH FAKE EXPERIENCE,SO WHAT I HAVE TO DO.
which worker is involved in all the phases of SDLC?
Explain what is OOPS and its concepts?
what is the work of 1tier,2tier,&ntier? Plz Explain it!
how to convert the data from HTML file to SAS dataset?
Hey this is venkatesh.Please can any body tell me what is SFLNXTCHG?where we use this keyword?what perpuse we use this?Can you tell me in real time senario with example? And in 7 specification(RPG/400)what is the mandatory specification using programs?
what is the use MDM(Master Data Management)and meaning
When we have two versions of the dot net installed how does the compiler know which version of DLL it has to select to an application.
what is meant by life cycle of a business
in IBM PC -AT.WAT AT REFERS TO?
in IT trend mantis meant what? how to know mantis in IT trends? detail description about mantis?
Which language they use during interview?
Wrtite a JCL for sorting a file with start from 36 postion lenth 9 excluding a num eq to 98768. for 3 marks mainframe
What's the difference b/w Table & Templete in Smartform?
how to stop execution of step 3 in a job mainframe