Skip to main content

Conditions and Their Use for Controlling the Flow of Programs

  • Chapter
  • First Online:
  • 271k Accesses

Abstract

A condition is a literal, a variable, a formula, or a method call whose value is boolean. Conditional evaluation is the action of obtaining the value of a condition.

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

Notes

  1. 1.

    The name “boolean” comes from George Boole (November 2, 1815 to December 8, 1864), a nineteenth century English mathematician who did fundamental work in logic and algebra.

  2. 2.

    Augustus De Morgan (27 June 1806 to 18 March 1871) was a British mathematician and logician, a contemporary of George Boole. He worked on logic and algebra.

  3. 3.

    For example, https://unicode-table.com/en/#control-character.

  4. 4.

    For example, http://www.asciitable.com.

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Ogihara, M. (2018). Conditions and Their Use for Controlling the Flow of Programs. In: Fundamentals of Java Programming. Springer, Cham. https://doi.org/10.1007/978-3-319-89491-1_6

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-89491-1_6

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-89490-4

  • Online ISBN: 978-3-319-89491-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics