Difference between abstract class and interface

Answer Posted / aninda bhattacharyya

Abstract class defined with methods. Interface will declare
only the methods. Abstract classes are very much useful
when there is a some functionality across various classes.
Interfaces are well suited for the classes which varies in
functionality but with the same method signatures.

Is This Answer Correct ?    52 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between inprocess vs out process session state? : .NET Architecture

544


What are the important principles of soa (service oriented architecture)?

497


what is inheritancy where u required ?

1516


Explain COM with example?

567


Explain domestic architecture artifacts? : Dot net architecture

518






Explain about the base class library provided by microsoft.net?

519


What is .net mobile utility controls. : Microsoft dot net mobile

497


What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile

528


State the different levels of exceptional safety?

573


What is the cli? Is it the same as the clr?

516


How does an appdomain get created?

555


Explain the race around condition? How can it be overcome? : Dot net architecture

528


Explain the types of memory management? : .NET Architecture

523


Why am I getting an invalidoperationexception when I serialize an arraylist?

489


Explain the Lapsed Listener problem in .net

673