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
Explain cache? : .NET Architecture
How does .net mobile work? : Microsoft dot net mobile
What size is a .net object?
Can you Explain
Which software is used for .net programming?
how to set the startup position of the form?
What is MS chart control in visual studio?
Define cache? : Dot net architecture
What is the cli? Is it the same as the clr?
What is the purpose of hard disk? : Dot net architecture
How will you do windows authentication and what is the namespace?
What is cache coherency and how is it eliminated? : Dot net architecture
What is cache coherency? : Dot net architecture
Explain cache memory? : Dot net architecture
.Net Frame work arch?