Difference between abstract class and interface

Answer Posted / prathap

In Abstract class we are having both concrete methods and
abstract methods.Concrete methods means providing
implementation for that method but abstract method cant
provide implemention for that method.we can implement
abstract methods in the sub class..
In Interface we are having un implemented methods but we
can provide impletion for that methods in the implementation
class...
the main difference is Abstract class is having implemented
and un implemented methods but an interface is having only
unimpleted methods ..

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differences between VS 2005, 2008 and 2010 ?

582


What are end points, contract, address and bindings?

530


Define dma? : Dot net architecture

550


How do I know when my thread pool work item has completed?

500


Explain about validation?

607






What is an asssembly qualified name? Is it a filename? How is it different?

510


difference between Response.write,server.transfer and also which one is used when ?

1468


Explain about common language infrastructure?

564


What is the use of CLR in .NET?

599


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

1470


Can you explain server controls in atlas?

541


Name some changes done since version 3.0?

558


Why only boxed types can be unboxed?

630


Explain the race around condition? : Dot net architecture

484


Define cache coherency? : Dot net architecture

578