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 purpose of namespace in c#?

0 Answers  


When you inherit a protected class-level variable, who is it available to?

2 Answers  


Is list passed by reference c#?

0 Answers  


Can abstract class instantiated c#?

0 Answers  


What is the purpose of a namespace?

0 Answers  


What is a clr host?

0 Answers  


Why singleton class is sealed in c#?

0 Answers  


How to do and Apply Themes to Datagrid,Lable,Textbox,etc., in C#.NET 2005 Windows Application? (like who we will do themes in ASP.NET using .CSS and .SKIN files). Urgent!!

0 Answers  


What is the difference between read and readline in c#?

0 Answers  


Is list a collection c#?

0 Answers  


What is the difference between method and function in c#?

0 Answers  


What are primitive data types in c#?

0 Answers  


Categories