Programming · Level 2 of 5
Class
A definition of objects' data and behavior in a class-based language.
Inheritance, identity, and memory semantics vary by language.
Example
A design groups account data and account operations in one type.
Listen to the definition and example
Audio transcript
Class. A definition of objects' data and behavior in a class-based language. Inheritance, identity, and memory semantics vary by language. For example: A design groups account data and account operations in one type.
Explore this concept
Why it matters
This helps you read implementation code and describe its behavior precisely.
Start with
Quick recall question
Try answering before looking back at the definition.