Skip to main content

Using Data for Computation

  • Chapter
  • First Online:
Fundamentals of Java Programming
  • 271k Accesses

Abstract

The previous chapter presented how to write programs using only System.out.println and System.out.print statements. This chapter introduces how to store, modify, and retrieve information. The medium in which information is stored is called data.

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

Institutional subscriptions

Notes

  1. 1.

    The term data is used for both singular and plural forms. The original singular form of “data” is “datum”, but this is rarely used nowadays.

  2. 2.

    Jon Steven “Steve” Young (born October 11, 1961) is a former NFL quarterback and a sportscaster. He played 13 seasons with the San Francisco 49ers, and led the team to three Super Bowl wins. Peyton Williams Manning (born March 24, 1976) is a former NFL quarterback who played with the Indianapolis Colts and later with the Denver Broncos. He led each team to one Super Bowl win. Thomas Edward Patrick Brady Jr. (born August 3, 1977) is an NFL quarterback for the New England Patriots. He led the team to five Super Bowl wins.

  3. 3.

    Technically, a variable name can start with the underscore or the dollar sign, but the convention is to start a variable name with a lowercase letter.

  4. 4.

    Since int is the data type for specifying the position of a character letter in a character sequence, the limit on the length is 231 − 1.

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). Using Data for Computation. In: Fundamentals of Java Programming. Springer, Cham. https://doi.org/10.1007/978-3-319-89491-1_2

Download citation

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

  • 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