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

Can enum be null c#?

0 Answers  


Is string null or empty?

0 Answers  


Can we inherit class that contains only one private constructor?

0 Answers  


Why can’t struct be used instead of class for storing entity?

0 Answers  


how to stored and retrive video in Sql server using asp.net c#......?

0 Answers   Sans Pareil IT Services,






What is satellite assembly? And steps to create satellite assembly?

0 Answers  


Why do we use static class in c#?

0 Answers  


Does C# support multiple inheritance?

3 Answers   IBM, Siebel Systems, Visual Soft,


Write a program to create a user control with name and surname as data members and login as method and also the code to call it. (Hint use event delegates) Practical Example of Passing an Events to delegates

0 Answers  


What is an indexer in c#?

0 Answers  


Does c# do array bounds checking?

0 Answers  


explain DIFFERENCE BETWEEN CLASS AND MODULE?

3 Answers  


Categories