Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is difference between il and dll ?

938


Why singleton class is sealed in c#?

888


What are get and set in c#?

950


What are extender provider components? Explain how to use an extender provider in the project.

853


What is the difference between interface and abstract class in c#?

858


What is the advantage of static class in c#?

901


Explain About .Net remoting

942


Explain nullable types in c#?

919


How many bytes is an int in c#?

888


Is python easier than c#?

886


Can we store different data types in arraylist in c#?

863


What is type safe in c#?

835


What is a .exe extension files? How is it similar to .dll extension files?

969


What is private void in c#?

857


What is an enumerator c#?

881