Q&A

Q1:In what way is object-oriented analysis and design fundamentally different from other approaches?
A1: Prior to the development of these object-oriented techniques, analysts and programmers tended to think of programs as functions that acted on data. Object-ori ented programming focuses on the integrated data and functionality as discrete units that have both knowledge (data) and capabilities (functions). Procedural programs, on the other hand, focus on functions and how they act on data. It has been said that Pascal and C programs are collections of procedures, and C++ programs are collections of classes.
Q2:Is object-oriented programming finally the silver bullet that will solve all programming problems?
A2: No, it was never intended to ...

Get Sams Teach Yourself C++ in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.