Object Oriented Programming


Interviewer: Mr. Verma, Can u tell me, what is inheritance.
Mr. Verma :
(Embarrassed by this simple question) When U make love to your wife and she bears a child, that is Inheritance. Interviewer was a thorough professional and was not disturbed by Mr. Verma's reply. But he wanted to have some fun.
Interviewer: Then what is Multiple Inheritance ?
Mr. Verma :
When U and Your neighbor make love with your wife and your wife bears a single child, that is multiple inheritance.
Interviewer: What is Virtual Function?
Mr. Verma:
When ur neighbour makes love with ur wife and u assume that, the child is urs.
Interviewer: ! What is Pure Virtual Function ?
Mr. Verma:
When u r impotent and still ur wife bears a child


No comments: