Beginners guide to OOP from a Java background?!
hi guys and gals
These are probably completely noob questions to most C++ programmers but coming from a Java background I am pretty much struggling with.
If anyone has studied Java it would be great a bonus.
In Java suppose we had a Borrower class and a Copy class.
Just for simplicity imagine Borrower had vars of:
and Copy had:
so the Borrower being the obvious relationship.
How do you go about implementing this in C++?
As most things I have "googled" talk about inheritance which I understand (hopefully :confused: ) but not passing of objects?
Thanks all, hopefully not bored you :o and someone can help me