Difference between abstract class and interface

Answer Posted / sudhakar

An Abstract class contains both abstract and non abstract methods.but the interface contains only abstract methods.
Abstract methods declared with the keyword Abstract where interface declared with interface keyword.

By using interface concept multiple inheritance is support.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is gui programming? : .NET Architecture

696


Describe the advantages of writing a managed code application instead of unmanaged one. What is involved in certain piece of code being managed?

805


how to change row background color in gridview

726


What is WPF and WCF?

760


Explain the difference between l1 and l2 cache? : .NET Architecture

749


Explain about common language infrastructure?

724


What's new in the .net 2.0 class library?

715


Whate are resource files? How are they used in .net?

668


How to implement the display in the class printdoc (how to resolve the naming conflict) a: no naming conflicts

820


What is the procedure on hardware that converts the ascii value to binary? : .NET Architecture

722


Explain the difference between primary & secondary storage device? : Dot net architecture

695


Explain pipelining? : Dot net architecture

754


Why only boxed types can be unboxed?

831


Explain the process of gc?

742


What is a service class?

743