Skip to main content

The interface of a class

  • Chapter
  • 3346 Accesses

Abstract

In the previous chapters we have started to build some software relying on existing elements. We are going to do more of this now by seeing how we can use previously written classes. This will also be an opportunity to gain new insights into this notion of class, fundamental to everything we do in programming, and to discover the concepts of interface and contract.

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   49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   64.99
Price excludes VAT (USA)
  • Durable hardcover 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Meyer, B. (2013). The interface of a class. In: Touch of Class. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-92145-5_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-92145-5_4

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-92144-8

  • Online ISBN: 978-3-540-92145-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics