You are defining a User class with a username and password properties to encapsulate data. Which design pattern is being utilized?
A. Observer
B. Factory
C. ValueObject
D. Mediator
Answer:C
You are defining a User class with a username and password properties to encapsulate data. Which design pattern is being utilized?
A. Observer B. Factory C. ValueObject D. Mediator