8,124 views

2 Answers

Best answer
5 votes
5 votes
it should be B (with a const keyword instead of constant )as reference of arg is passed in copy constructor
selected by
2 votes
2 votes
In the question, a particular language is not mentioned so option B and C both are correct.

In Java copy constructor: MyClass(MyClass arg)

But In C++ it is :  MyClass (constant MyClass & arg)
Answer:

Related questions

5 votes
5 votes
2 answers
1
3 votes
3 votes
1 answer
2
makhdoom ghaya asked Jun 5, 2016
6,285 views
The built-in base class in java, which is used to handle all exceptions isRaiseExceptionErrorThrowable
1 votes
1 votes
1 answer
3
makhdoom ghaya asked Jun 5, 2016
7,804 views
Which of the following is not provided as a service in cloud computing?Infrastructure as a serviceArchitecture as a serviceSoftware as a servicePlatform as a service
7 votes
7 votes
2 answers
4
makhdoom ghaya asked May 12, 2016
12,891 views
If a program $P$ calls two subprograms $P1$ and $P2$ and $P1$ can fail $50$% of the time and $P2$ can fail $40$% of the time, what is the failure rate of program $P$?$50$...