Skip to main content

Relationships Between Classes

  • Chapter
  • First Online:
  • 162k Accesses

Part of the book series: Undergraduate Topics in Computer Science ((UTICS))

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Notes

  1. 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. 2.

    Protected access will be explained shortly.

References

  1. C. Larman, Applying UML and Patterns (Prentice Hall PTR, New Jersey, 1998)

    Google Scholar 

  2. B. Eckel, Thinking in C++ Volume 1 (2nd Edition) (Prentice Hall, New Jersey, 2000)

    Google Scholar 

  3. B. Meyer, Object-Oriented Software Construction (Prentice Hall, New Jersey, 1997)

    Google Scholar 

  4. P. Anderson, G. Anderson, Navigating C++ and Object-Oriented Design (Prentice Hall, New Jersey, 1998)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Brahma Dathan .

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics