Skip to main content

Classes in Object-Oriented Programming

  • Chapter
  • First Online:
Learn Java with Math
  • 1416 Accesses

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

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

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Ron Dai

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics