Practcle scenario where I can use abstract class and where
I can use Interface



Practcle scenario where I can use abstract class and where I can use Interface..

Answer / 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

More C Sharp Interview Questions

Explain the Usage of web.config

0 Answers   Microsoft,


what is an event? Define delegate?

0 Answers  


Explain the security with aop?

0 Answers  


What is binary search tree in data structure?

0 Answers  


What is static class in C#?

0 Answers   Winsol Solutions,






What are tuples c#?

0 Answers  


How to find the current application file path while runtime?

0 Answers  


What is the difference between an integer and int?

0 Answers  


Explain when should you call the garbage collector in .net?

0 Answers  


what are the benefits in using c# ?

1 Answers  


What is xor operator in c#?

0 Answers  


what is the lifespan of the items stored in viewstate ?

4 Answers  


Categories