English

Copy constructor copies functions from one object to another. - Computer Applications

Advertisements
Advertisements

Question

Copy constructor copies functions from one object to another. 

Options

  • True

  • False

MCQ
True or False

Solution

This statement is False.

Explanation:

A copy constructor transfers data members (attributes), not functions, from one object to another of the same class. It creates a new object by copying its state (variable values) from an existing object. 

shaalaa.com
  Is there an error in this question or solution?
Chapter 7: Constructors - EXERCISES [Page 418]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 7 Constructors
EXERCISES | Q III. 8. | Page 418
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×
Our website is made possible by ad-free subscriptions or displaying online advertisements to our visitors.
If you don't like ads you can support us by buying an ad-free subscription or please consider supporting us by disabling your ad blocker. Thank you.