Give any one example of an Inheritance.

 Posted by Vishalneeraj-24503 on 3/1/2015 | Category: Visual Studio Interview questions | Views: 337 | Points: 40
Answer:

We can understand an Inheritance as:-
Take two class as Game and Cricket.

Cricket is a game is valid - Inheritance
Cricket has a game is invalid - Composition


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response