Which of the following are true for prototype pattern?

Man Ly

New member
Which of the following are true for prototype pattern?
A. A clone is a copy of an object
B. When values stored in an entity (including references) are reproduced in the copy, the copy operation is said to be shallow
C. In contrast, a copy operation is deep when copies are made of all referenced entities in the original composite, and references to the new entities are placed in the copy
D. All of the mentioned
 

Tìm kiếm

Back
Top