Practcle scenario where I can use abstract class and where
I can use Interface
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 |
What is the purpose of namespace in c#?
When you inherit a protected class-level variable, who is it available to?
Is list passed by reference c#?
Can abstract class instantiated c#?
What is the purpose of a namespace?
What is a clr host?
Why singleton class is sealed in c#?
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!!
What is the difference between read and readline in c#?
Is list a collection c#?
What is the difference between method and function in c#?
What are primitive data types in c#?