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

What is the difference between paramaterized constructor and copy constructor?

0 Answers   HCL,


What is the difference while using directive vs using statement ?

0 Answers  


What method is used to sort the elements of the array in descending order?

0 Answers   Siebel,


What is difference between int and int in c#?

0 Answers  


What are the differences between value types and reference types?

0 Answers  






How is a loop recorder monitored?

0 Answers  


Why to use “using” in c#?

0 Answers  


What is a proxy of the server object in .NET Remoting?

1 Answers   BirlaSoft,


Does C# supports multi-dimensional arrays ?

4 Answers   Microsoft,


Do void methods have parameters?

0 Answers  


What does namespace mean?

0 Answers  


What is array class in c#?

0 Answers  


Categories