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
What does the term "green architecture" mean? : .NET Architecture
8. Oop-Why and were we use Interfacse and Abstract class.
Define cache coherency and how is it eliminated? : Dot net architecture
Explain dma? : Dot net architecture
What are bindings?
What is a service contract, operation contract and data contract?
4. Wcf- what Asych and Sych call and how that works
Can you explain update progress control?
What is textview control of .net mobile? : Microsoft dot net mobile
What are the main Tools to develop .Net Application?
How does an appdomain get created?
What is Object Caching in Visual Studio 2010?
if there are two application 1 and 2 having a variable x in both app if client1 changes value of x in 1 app client 2 want reads the value of x from 2 app what resultant value will he get
Differences between VS 2005, 2008 and 2010 ?
How can we integrate atlas with web services?