हिंदी

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

Advertisements
Advertisements

प्रश्न

Copy constructor copies functions from one object to another. 

विकल्प

  • True

  • False

MCQ
सत्य या असत्य

उत्तर

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
  क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 7: Constructors - EXERCISES [पृष्ठ ४१८]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
अध्याय 7 Constructors
EXERCISES | Q III. 8. | पृष्ठ ४१८
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×