Practcle scenario where I can use abstract class and where
I can use Interface
Answer Posted / kishore anumala
Well lets think we have went to a car showroom to purchse a
car the vendor expalins the details of car.
First he explains the minimum details of car like
Its cost, Speed, Milage, etc..
Here we make use of Interface(Just implementing the
existing members).
And if you are interested in purchasing car
The vendor gives you lot more details of the car like
Model Name, Chassis model, Type of finishing etc...
Here we make use of Abstract class(Overriding the existing
class members for presenting more information)
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is difference between il and dll ?
Why singleton class is sealed in c#?
What are get and set in c#?
What are extender provider components? Explain how to use an extender provider in the project.
What is the difference between interface and abstract class in c#?
What is the advantage of static class in c#?
Explain About .Net remoting
Explain nullable types in c#?
How many bytes is an int in c#?
Is python easier than c#?
Can we store different data types in arraylist in c#?
What is type safe in c#?
What is a .exe extension files? How is it similar to .dll extension files?
What is private void in c#?
What is an enumerator c#?