http://javaboutique.internet.com/articles/ITJ/qanda/q20.html
excellent description of oo vs procedural
almost there :(
edit:
http://www.aquaphoenix.com/research/oop/page10.html
another excellent source.
I think I just about got it, this website aquaphoenix has superb real life examples.
[Edited by - Tradone on March 12, 2006 7:10:50 PM]
What are Virtual Methods?
I am reading a good book on C++ oop Visual C++ .NET Step by Step, but still can not distinguish between classes / objects / instances.
'object' and 'instance' refer to the same thing. A 'class' is the blueprint for these.
Or, if you prefer, a class is a kind of type; an object (or instance) is a kind of variable (which is of a class type).
class Person { int age; std::string name;};// That defines the 'class', which is simply the concept of a Person.Person tradone; // This is an instance.
Or, if you prefer, a class is a kind of type; an object (or instance) is a kind of variable (which is of a class type).
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement