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 different pipelining hazards and how are they eliminated? : Dot net architecture
What happens to the winfx technologies?
What is Com Callable wrapper?when it will created?
what is diffrent beatween localprinter and networkprinter
What is the difference between machine config vs. Web config : Dot net architecture
What is one way operation?
What are public and private assemblies ?
Can you explain atlasuiglitz library?
Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile
State and explain about microsoft.net?
6. Wcf- what is SOA
State the different levels of exceptional safety?
What is the mesi? : Dot net architecture
Explain the difference between state server and sqlserver : Dot net architecture
12. Types of polymorphisem[Run and Design Exp.]