Card 13 / 31: what are the differences between entities and value objects?
A)
entities are immutable objects while value objects are mutable objects
B)
an entity has a unique identity while a value object doesn't
C)
sharing value object is thread safe as it is immutable
D)
sharing an entity is thread safe as it has a unique identity
Answer:
B) an entity has a unique identity while a value object doesn't
C) sharing value object is thread safe as it is immutable
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
|