Use the expansion operator to copy objects, only one layer can be copied, which is a shallow copy

Extended operator copy object belongs to shallow copy

Guess you like

Origin blog.csdn.net/sinat_41696687/article/details/115079930