Abstract
In this chapter, we introduce Java’s primitive data types, arithmetic operators, String concatenation, and arrays. With these basic components, we can begin to build some useful programs. Along the way we look at some important concepts relating to how Java handles combinations of different data types, including promotion and casting.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag London Limited
About this chapter
Cite this chapter
Parsons, D. (2012). Data Types, Arithmetic, and Arrays. In: Foundational Java. Springer, London. https://doi.org/10.1007/978-1-4471-2479-5_3
Download citation
DOI: https://doi.org/10.1007/978-1-4471-2479-5_3
Published:
Publisher Name: Springer, London
Print ISBN: 978-1-4471-2478-8
Online ISBN: 978-1-4471-2479-5
eBook Packages: Computer ScienceComputer Science (R0)