Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,195,161 members, 7,957,321 topics. Date: Tuesday, 24 September 2024 at 11:05 AM |
Nairaland Forum / Science/Technology / Programming / Object Oriented Analogy Using Man & Woman (1486 Views)
A Beginners Guide To Object-oriented Programming (OOP) In PHP 5+ / Let's Learn Object Oriented PHP! / Criticism Of Object Oriented Programming (2) (3) (4)
(1) (Reply)
Object Oriented Analogy Using Man & Woman by chatykrew(m): 4:40pm On Jul 16, 2007 |
if i may say i undertsand oo (object oriented), can this analogy be correct? man (object) >> sperm(method) >> woman(object) >> pregnancy (event) >> baby (object)+encapsulation, inheritance. Wat i mean is the man is an object gives his sperm (method) to the woman(object). the woman becomes pregnant(event) and later reacts and produces a baby(object) which conatains(inheritance) the chromosomes of the two objects. please i hope someone undertsands and corrects/improves this analogy. thanks |
(1) (Reply)
Creator Of Python Has This To Say About Nigerian Spammers / First Ever Nigeria Elections App / Please I Want To Learn How To Develop An Android App.
(Go Up)
Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health religion celebs tv-movies music-radio literature webmasters programming techmarket Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10) Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 5 |