What is cloning?

Answer Posted / beena

An object can carry out copying in two ways i.e. it can set itself to be a copy of another object, or it can return a copy of itself. The latter process is called cloning.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are vectors used for in c++?

705


Is java a c++?

656


What is the difference between method overloading and method overriding in c++?

648


Differences between private, protected and public and give examples.

662


Where the memory to the static variables is allocated?

646






Do you know the problem with overriding functions?

663


What is meant by const_cast?

763


If you push the numbers (in order) 1, 3, and 5 onto a stack, which pops out first a) 1 b) 5 c) 3

969


What is setiosflags c++?

621


How can you quickly find the number of elements stored in a dynamic array?

692


Write a short code using c++ to print out all odd number from 1 to 100 using a for loop

679


Explain selection sorting. Also write an example.

683


What is c++ and its uses?

722


When must you use a pointer rather than a reference?

684


How are Structure passing and returning implemented by the compiler?

701