Abstract
In the previous chapter we studied classes and objects as the two building blocks of object-oriented systems. The structure of a software system is defined by the way in which these building blocks relate with one another and the behaviour of the system is defined by the manner in which the objects interact with one another.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsNotes
- 1.
Technically, the system throws an exception, a topic that will be covered in detail in Chap. 4. In this case, an instance of the class ClassCastException is thrown open.
- 2.
Protected access will be explained shortly.
References
C. Larman, Applying UML and Patterns (Prentice Hall PTR, New Jersey, 1998)
B. Eckel, Thinking in C++ Volume 1 (2nd Edition) (Prentice Hall, New Jersey, 2000)
B. Meyer, Object-Oriented Software Construction (Prentice Hall, New Jersey, 1997)
P. Anderson, G. Anderson, Navigating C++ and Object-Oriented Design (Prentice Hall, New Jersey, 1998)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2015 Universities Press (India) Private Ltd.
About this chapter
Cite this chapter
Dathan, B., Ramnath, S. (2015). Relationships Between Classes. In: Object-Oriented Analysis, Design and Implementation. Undergraduate Topics in Computer Science. Springer, Cham. https://doi.org/10.1007/978-3-319-24280-4_3
Download citation
DOI: https://doi.org/10.1007/978-3-319-24280-4_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-24278-1
Online ISBN: 978-3-319-24280-4
eBook Packages: Computer ScienceComputer Science (R0)