Value Objects

Learn about value objects and their implications.

Overview

A value object is an abstract data type wherein each object represents an entity: the value. The grounds for a comparison of value objects is their value, not the identity of the object. The code below demonstrates this.

Code example

Get hands-on with 1200+ tech skills courses.