6
Answers

Object Oriented Programming-Interfaces

Majid Aslam

Majid Aslam

7y
204
1
Why we use interfaces and Abstract classes?Explain the Benefits of Interfaces and abstract classes in our real time application?
Answers (6)
1
Bipul tiwari

Bipul tiwari

NA 88 7 7y
Abstract class and Interface are similar concepts. The purpose of an abstract class is to provide a common definition of a base class that multiple derived classes can share. where Interface is a type which contains only the signatures of methods, delegates or events and it has no implementation. for more detail
 
http://www.agrini-tricks.in/Tutorial/Difference-Between-Abstract-class-and-Interface.aspx
0
Ravi Kiran Chanduri

Ravi Kiran Chanduri

NA 859 37k 7y
https://www.codeproject.com/Questions/720283/Advantages-Of-Using-Abstract-nd-InterfaceClass
0
Rajkiran Swain

Rajkiran Swain

NA 33.9k 373.2k 7y
http://www.c-sharpcorner.com/article/when-to-use-abstract-class-and-interface-in-real-time-projects/
0
Rajkiran Swain

Rajkiran Swain

NA 33.9k 373.2k 7y
http://codeofdoom.com/wordpress/2009/02/12/learn-this-when-to-use-an-abstract-class-and-an-interface/
0
Ashwani Bakshi

Ashwani Bakshi

NA 286 3.7k 7y
Hi Majid,
 
 
http://www.c-sharpcorner.com/article/when-to-use-abstract-class-and-interface-in-real-time-projects/
 
0
Ankit Sharma

Ankit Sharma

NA 8.8k 140.9k 7y
Hi Majid,
 
Please refer to these links to get a better understanding
 
https://stackoverflow.com/questions/479142/when-to-use-an-interface-instead-of-an-abstract-class-and-vice-versa
 
http://www.c-sharpcorner.com/article/when-to-use-abstract-class-and-interface-in-real-time-projects/
 
https://www.codeproject.com/Questions/43970/Real-world-examples-of-abstract-classes-and-interf
 
Hope this helps