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
what is the filters in biztakk server? where it can use?
what is the purpose of checked Menu options
what are resources in case of Threads
How to connect the .accdb database file of microsoft access to the Visual Basic 6.0 forms?
10.Define filters,binary to hexadecimal,hexadecimal to decimal?
In mainframe SDSF, Can we copy the list of jobs currently executing in SDSF in to a seperate DATASET...?
what are all the ant command options
Hi can you please send me recent(present) interview questions and technical qyestions with answers for "BUSSIESS OBJECTS" and "DATA WAREHOUSE".pls its urgent for me my mail id is sekhar.cs82@gmail.com,manjuforgis@gmail.com. thanks in advance
What is the difference between WebIntelligence and Designer in creating universes?
Differevce between arrays and array builders?
How to set on/off a group of indicators in a single statement?
What is the entry point function of a DLL?
what is the difference between SCAN AND CHECK,LOKUP AND XFOOT? where we can use thease opcodes? Can any body tell me real time senariao with example?
how to check single or double byte in struts
SAS question: I have 50 fils a1,a2,...,a50. the primary key is upc. then if i want to merge all 50 files, the code is as follows, data test; merge a1 ... a50; by upc; run; we know that writing all 50 files name is time consuming, is there any standard format of this code?