When a copy constructor may be called?

Question:
 When a copy constructor may be called?

1. A. When an object of the class is returned by value.

2.When an object of the class is passed (to a function) by value as an argument.

3.When an object is constructed based on another object of the same class

4.All of the above

Posted Date:-2022-07-04 09:59:34


More MCQS Questions and answers

Search
Olete Team
Online Exam Test Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on Online Exam Test website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!