"Tôi vừa tìm thấy một tạp chí từ năm 2014. Bạn có thể tưởng tượng được không?"
"Và nó có một tập hợp các nhiệm vụ nhân bản cũ hơn bụi bẩn. Hãy xem thử:"
12
Nhiệm vụ
Java Multithreading, mức độ, bài học
Đã khóa
Deep cloning of a map
Provide the ability to create a deep clone of a Solution object.
The data in the users map should also be cloned.
Don't forget about the equals and hashCode methods needed to correctly add User elements to the HashMap.
12
Nhiệm vụ
Java Multithreading, mức độ, bài học
Đã khóa
Cloning plants
The Plant class should not implement the Cloneable interface
Implement deep cloning for Tree.
6
Nhiệm vụ
Java Multithreading, mức độ, bài học
Đã khóa
Prevent cloning
Allow cloning of the A class.
Prevent cloning of the B class.
Allow cloning of the C class.
Don't forget about the equals and hashCode methods!