DEEP COPY IN C++ AND JAVA']JAVA

被引:0
|
作者
Kostadinova, Hristina [1 ]
Raykova, Mariyana [1 ]
机构
[1] New Bulgarian Univ, Dept Comp Sci, 21 Montevideo Blvd, Sofia 1618, Bulgaria
来源
MATHEMATICS AND INFORMATICS | 2019年 / 62卷 / 05期
关键词
shallow copy; deep copy; C++; !text type='Java']Java[!/text;
D O I
暂无
中图分类号
G40 [教育学];
学科分类号
040101 ; 120403 ;
摘要
The programme realization topic of the ways to copy cloning objects in object-oriented software projects is presented in the paper. The stress is on the subject of shallow and deep copy or the situations in which the copied objects have common resources with the original one. In many cases, programmers need to switch from one technology to another, which leads to the need of knowing the details of the implementation of a programme functionality in more than one programming languages. Different approaches for the implementation of the deep copy are demonstrated with examples in C++ and Java programming languages. Advantages and disadvantages of the presented methods are discussed.
引用
收藏
页码:527 / 543
页数:17
相关论文
共 50 条