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
Can we use Vb.Net and C# language simultaneously in one .Net application?
What are the different types of a stream?
what is intermediate language?
What is meant by jagged arrays?
Explain the differences between vb.net and c#, related to oops concepts?
Explain cts?
i am attending to US consulate i kept my projects on vb.net ,please help me what questions will be ask on vb.net in us consulate
What is the source code for display the picture in button click event?
What is different between web.config and machine.config and where it will be ?
Explain managed code?
What’s the difference between private and shared assembly?
What is tracing?
What is the difference between custom control and user control?
How can we store decimal data in .net?
Explain the difference between datatable and dataset?