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 is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile
Explain about generation?
What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile
What is gui programming? : .NET Architecture
What are different types that a variable can be defined and their scopes ?
what is sessions and cookies take one example simple way to understand
how to use custom field validation
What is .net mobile lists. : Microsoft dot net mobile
What is the difference between an event and a delegate?
How can I write my own .NET host?
Can I create my own metadata attributes?
what is the difference between master page and content page?
What is the purpose of Treeview control?
what are the fundamental and common properties of .net controls?
Explain the five stages in a dlx pipeline? : .NET Architecture