When should you use Abstract Class vs Interface while
programming? Give 1 Example
Answer Posted / rupali
Abstract class can contain non abstract method.
When we want that all subclass must implement all methods of
base class ;In such situation use interface.In other hand
when we want only some method of base class in our subclass
then use base class as abstract class because abstract class
can contain non-abstract method.
Is This Answer Correct ? | 45 Yes | 14 No |
Post New Answer View All Answers
Differences between VS 2005, 2008 and 2010 ?
Explain how cache is used? : Dot net architecture
State and explain about microsoft.net?
How do we do authentications using atlas?
How to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
What are different types that a variable can be defined and their scopes ?
What are the types of memory management? : Dot net architecture
Is dim fs as filestreamobject is a managed code? : Dot net architecture
How can I create a application?
What is a virtual memory? : Dot net architecture
What is parallel computing?
Tell me .net mobile emulators? : Microsoft dot net mobile
how to change row background color in gridview
So what exactly is the configuration file for then?
What is a managed code is dim fs as filestreamobject is a managed code? : .NET Architecture