Difference between interface and abstract class?

Answer Posted / jenypatel86

There is no difference in the functionality of these two.The
only difference is that a class cannot extend an abstract
class if it already is extending some other class.An interface
on the other hand can be implemented in any situation which
makes them very powerful.Also user defined exceptions can be
defined within an interface itself, which is not the case with
an abstract class.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is %Type,%Rowtype?

1838


how do you generate source code for the automatic generation for receipt number

3817


why we use abstract word in abstract window toolkit in java language.

1762


what are the things i had to say in personal introduction in hr round mail me to prasanna.1867@rediff.com

1676


why not instantiating servet using new operator?

1491






it is a language or tools?

1617


write a sql qwery which include joining of two tables 4 marks mainframe

1486


< No Frames > tag is used for

2104


5.Call by value and Call by reference with program?

1826


Write a program to find duplicate number from array in minimum time complexity.

640


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...

1783


What binary value will be internally stored for NULL for the type S9(1) COMP 3 in mainframe

1548


What is the entry point function of a DLL?

615


3. What is the difference between testing and Quality Assurance?

1483


What is the Difference between in memory database and physical database

2075