What Is The Syntax Of Copy Constructor #143
What is the syntax of copy constructor?
This multiple choice question (MCQ) is related to the book/course
gs gs111 OOP Object Oriented Programming Java.
It can also be found in
gs gs111 Constructors and Destructors - OOPs MCQ: Copy Constructor - Quiz No.1.
What is the syntax of copy constructor?
classname (classname &obj){ /*constructor definition*/ }
classname (cont classname obj){ /*constructor definition*/ }
classname (cont classname &obj){ /*constructor definition*/ }
classname (cont &obj){ /*constructor definition*/ }