Abstract
An object is essentially a representation of a thing. An object has some attributes, just like everything has characteristics. However, a class in the programming world is primarily a data structure designed for a specific object. The class is also said to be a blueprint of an object. It keeps track of a bundle of related things about the object. These related things are known as fields, properties, and functions (or methods).
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
© 2019 Ron Dai
About this chapter
Cite this chapter
Dai, R. (2019). Classes in Object-Oriented Programming. In: Learn Java with Math. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5209-3_24
Download citation
DOI: https://doi.org/10.1007/978-1-4842-5209-3_24
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-5208-6
Online ISBN: 978-1-4842-5209-3
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)