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...


Can you explain what inheritance is and give an example of
when you might use it?



Can you explain what inheritance is and give an example of when you might use it? ..

Answer / tza

There are two kinds of inheritance. They are Generalization
and specialization. Generalization is bottom to up function
and specialization is top to down function.
Example: We have one class. this class is called Employee.
and then employee class includes the following class. There
are Programmer,Staff and Manager. Because employee class
have ID,Name, and salary. If u want to call programmer class
to employee that is called generalization. and if u want to
call employee class to staff that is called specialization.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP.NET Interview Questions

What are the type of session in Asp.Net

3 Answers  


what is Master pages in asp.net? what is the advantages and disadvantages?

3 Answers  


How does ASP.NET framework maps client side events to Server side events.?

0 Answers  


Types of caching ?

3 Answers   TCS,


What is ViewState and How it is managed,Its Advantages/Benefits?

4 Answers   Google,


How to create events for a control?

0 Answers  


How to authenticate users using web.config ?

2 Answers   Accenture, Amazon, BirlaSoft, Cap Gemini,


Which is an advantage of application service providers?

0 Answers  


Can two web application share a session and application variable ?

5 Answers   Satyam, V3 Engineers,


Difference Between GridView And DataList

2 Answers  


What are validator? How do you disable them?

0 Answers  


In which scenario we use Session and Cookies? With Example..

1 Answers  


Categories