Home > Articles > Programming > Java

An Overview of C++ and Java Facilities and Techniques for Defining Classes

  • Print
  • + Share This
  • 💬 Discuss
This chapter from Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing covers the choices we face among language facilities that have duplicate or overlapping functionality, the background of various traditions in C++ and Java programming, and established principles of good programming practice as they apply to building and using object-oriented 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. By understanding the fundamental approaches in C++ and Java and the differences between them, you’ll develop a stronger command of object-oriented class design and an informed appreciation of the strengths and weaknesses of each language.

  • + Share This
  • 🔖 Save To Your Account

Discussions

comments powered by Disqus