Practcle scenario where I can use abstract class and where
I can use Interface
Answer Posted / 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 View All Answers
Define a manifest in .net?
What’s thread.sleep() in threading ?
hi, is compulsory .net knowledge need for biztalk server training. if need, how far?.tell me some info abt real time instructors in hyd or other?
When should you use generics?
Why is it called c sharp?
How to declares a two-dimensional array in C#?
Explain synchronous and asynchronous operations?
What is decimal in c#?
Does c# have primitives?
What is Web.config?
State the top.NET class that everything is derived from?
Int map to which .net types?
Why References are stored on heap and variables on stack?
How does substring work in c#?
What is public or shared assemblies ?