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 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
what is dot net framework
Explain three modes in which files can be accessed from python program
How to create a new dataset only duplicate observations in proc sort procedure?
what is the diffrence between software and hardware language?
1.Mutating table
What is abstract Method i want the exact definition and is there any possibility to declare class as abstract without any abstract methods in that class?If it is possible then tell me why and how?
how to data grid use in data bind?
along with oracle which language will be beneficial to have knowledge with,java,.net,since i m doing oracle have appeared for 8th sem BEIT,plz suggest
What is BASIS
if 2 is passed as an argument to the method,void GC.Collect then what would be the result?
Explain with examples any 2 features of OOPS.
1. Consider the following input and generate the object code using single pass assembler. JOHN START 0 USING *,15 L 1,FIVE A 1,FOUR ST 1,TEMP FOUR DC F’4’ FIVE DC F’5’ TEMP DS ‘F END
can any one suggestion me present which course(except java,.net) has huge demand in the market?
When will you use shell script/Perl ahead of C/C++?