Skip to main content

Variables, assignment and references

  • Chapter
Touch of Class
  • 3332 Accesses

Abstract

Programs use names or “entities”, to denote run-time values. A distinctive property of most programs is that some of their entities, called “variable entities” or just variables, can denote different successive values during execution. The previous examples have implicitly relied on such changes of values, but we have not yet seen the basic change operation, assignment.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

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

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). Variables, assignment and references. In: Touch of Class. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-92145-5_9

Download citation

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

  • 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