Difference between abstract class and interface
Answer Posted / sumit gupta
the basic logical difference is you create abstract class when there is a relation between two classes that will inherit the abstract class and you create interface for the classes which are not related to each other but do have some common functionality.
below link describes it quite nicely.
http://devworkexperience.com/2011/09/interfaces-vs-abstract-classes/
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the difference between l1 and l2 cache? : .NET Architecture
Explain the race around condition? : .NET Architecture
Explain .net mobile events? : Microsoft dot net mobile
How do we do authentications using atlas?
What is the problem with .net generics?
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.....
Waht is Dot net Arcitecture
What is .net mobile forms? : Microsoft dot net mobile
What is the difference between an event and a delegate?
Is dim fs as filestreamobject is a managed code? : Dot net architecture
What is .net viewstate?
What is .net mobile input validation. Explain with an example? : Microsoft dot net mobile
Explain hard disk? : Dot net architecture
Explain the purpose of cache? How is it used? : Dot net architecture
which is the institute in hyderabad for providing the live project industry training