Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / NewStats: 3,193,959 members, 7,952,864 topics. Date: Thursday, 19 September 2024 at 06:03 AM |
Nairaland Forum / Science/Technology / Programming / Object Oriented Analogy Using Man & Woman (1481 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)
Pls! Help With This C++ Program / Page Directive In Asp.net / Please Help! How Do I Open My Visual Basic Program In Visual Studio 2008?
(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. 6 |