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 |
Explain the Usage of web.config
what is an event? Define delegate?
Explain the security with aop?
What is binary search tree in data structure?
What is static class in C#?
What are tuples c#?
How to find the current application file path while runtime?
What is the difference between an integer and int?
Explain when should you call the garbage collector in .net?
what are the benefits in using c# ?
What is xor operator in c#?
what is the lifespan of the items stored in viewstate ?