What is difference between Abstract Class and Interface?

Answer Posted / basudev pradhan

i) Abstarct is class does not have Body part,it can't create
instance ,but We provide Abstact method and normal
method,the abstarct can be inheritaed by another class,this
can must be implemented by Abstarct method,
ii) Abstarct class can only once inheritaed by Another class
But the interface can implements the More than one interface,
interface only provide Abstarct method ,this method have
does not body part,this class can implements the interface
Define the absract method

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many server control present in .net

2292


What do you mean by serialization?

535


How to run a dos command in vb.net?

611


How to connect crystal report in vb.net ?

571


How to retrieve images in sql server database through vb.net?

519






What are the two main parts of .net?

566


What are the assembly entry points?

579


What is visual basic.net culture?

501


Why do you need Lock in Visual Basic?

609


What are the features of c# which are not present in vb.net?

654


Explain the use of option explicit?

594


What are different types of jit ?

589


What is a stream in vb.net?

526


Explain the use of serialization and deserialization?

513


What do you mean by Redim in VB.NET?

670