7. Oop-Diff B/w Interfacse and abstract class.

Answer Posted / preetham

Abstract Class:
* It contains both abstract methods and normal methods
* We can not create an instance of abstract class
* we can inherit only one abstract class

Interface :
* It contains only abstract methods which has only signature does't have body
* We can not create an instance of interface.
* We can inherit multiple interfaces

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the problem with .net generics?

797


How to prevent my .NET DLL to be decompiled?

756


how to create applications by using Visual Studio 2012?

716


Explain about cookie less session state? : .NET Architecture

724


how to set the startup position of the form?

1669






What are different types that a variable can be defined and their scopes ?

804


What are relation objects in dataset?

702


Explain difference between machine config vs. Web config? : .NET Architecture

704


inprocess vs out process session state : Dot net architecture

698


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

650


What is the difference between l1 and l2 cache? : Dot net architecture

695


How can we integrate atlas with web services?

688


Explain the difference between state server and sqlserver : Dot net architecture

631


Explain the purpose of cache? How is it used? : .NET Architecture

722


Explain cache? : Dot net architecture

746