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 is the purpose of cache? How is it used? : Dot net architecture
What are the options provived by vss to the user? how it will help us while delevoping application?
i wish to write mcts(microsoft certified technology specialist) exam. can anyone give the model question or format and preparation method?
IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class
What are the types of application software?
What is the problem with .net generics?
What is the difference between absolute expiration and sliding-time expiration?
So what exactly is the configuration file for then?
What happens to the winfx technologies?
Can I create my own permission set?
How will you do windows authentication and what is the namespace?
Define the mesi? : Dot net architecture
The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.
What is Object Caching in Visual Studio 2010?
What's the difference between an application and a program?