„Ich habe gerade eine Zeitschrift aus dem Jahr 2014 gefunden. Können Sie sich das vorstellen?“
„Und es gibt eine Reihe von Klonaufgaben, die älter als Dreck sind. Schauen Sie sich das an:“
12
Aufgabe
Java Multithreading, Level 1, Lektion 8
Gesperrt
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
Aufgabe
Java Multithreading, Level 1, Lektion 8
Gesperrt
Cloning plants
The Plant class should not implement the Cloneable interface
Implement deep cloning for Tree.
6
Aufgabe
Java Multithreading, Level 1, Lektion 8
Gesperrt
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!
0
Kommentare
Beliebt
Neu
Alt
Du musst angemeldet sein, um einen Kommentar schreiben zu können