An object encapsulates state and behavior. Abstraction is the means by which the state and behavior of a class are derived from the many specific instances of things that the class is said to represent.
Object oriented (OO) programming is a tricky devil, especially someone like me who was self taught BASIC when I was 9. Reading the above gave me one of those light bulb moments that helped me break through some of the OO jargon and C++ I'm working with.
Sunday, July 26, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment