Дълбоко копие в C++ и Java
Deep Copy in C++ and Java
Author(s): Hristina Kostadinova, Mariyana RaykovaSubject(s): Social Sciences, Education, School education, Vocational Education, Adult Education, Higher Education , History of Education, ICT Information and Communications Technologies, Inclusive Education / Inclusion
Published by: Национално издателство за образование и наука „Аз-буки“
Keywords: shallow copy; deep copy; C++; Java
Summary/Abstract: 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.
Journal: Математика и информатика
- Issue Year: 62/2019
- Issue No: 5
- Page Range: 527-543
- Page Count: 17
- Language: Bulgarian
- Content File-PDF