O'Reilly logo

Object-Oriented Computation in C++ and Java: A Practical Guide to Design Patterns for Object-Oriented Computing by Conrad Weisert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix: Answers to Selected Exercises

This Appendix does not include exercises for which the answer is found on the companion Website www.dorsethouse.com/books/ooc.html, noted throughout the book. Nor does it answer questions that depend on unsettled controversies. Further insights from the author and from readers also may appear from time to time on the Website www.idinews.com.

1.4-1 C has no primitive data type for text data. The programmer was encouraged to think of a text data item as an array of single characters. On the other hand, PL/I, COBOL, and BASIC supported character strings as built-in types. An inexperienced programmer learning C or Java as his or her first language, therefore, tends to merge the notions of strings and arrays ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required