2. Review of C++ and Java Facilities and Techniques for Defining Classes

2.1. Our emphasis

This chapter is not a language tutorial. I assume you already have experience in defining object-oriented classes in C++ or Java or both. The emphasis here is on

• the choices we face among language facilities that have duplicate or overlapping functionality

• the background of various traditions in C++ and Java programming

• established principles of good programming practice as they apply to building and using object-oriented classes

Unlike later chapters, the following sections address the topics in both languages. Even if you have absolutely no immediate interest in one of the languages, you should resist the temptation to skip over those explanations. ...

Get Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing 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.