Question

Explain the importance of a constructor in object-oriented programming. Differentiate between copy constructor and default constructor in C++ with the help of an example.

31 Jul 2018
Answer :
Word Count : 156

OBJECT ORIENTED PROGRAMMING:-

  • Object oriented programming is designed, which focus on data.
  • It is bottom up approach.
  • It supports inheritance, encapsulation, polymorphism and abstraction
  • In object oriented programming, program are divided into entities and object.
  • It is more secure and having data hiding.
  • It can solve any complex program.
  • More
___ _______ ___ ____ __________.
_______ ___ ________ __________ _______ _____ ______ _______ _________ __________ ___ _____.
_____ ____ ___ ______ _____.
____ ____ ____ ______ _________ ____ ___ ____ __________ ______.
_____ _______ ________ _____ ___ _______ _______ ______ _________ _______ ____.
_______ _________ ___ ____ ______ _____.
_____ ___ _______ ____ __________.
_________ ______ __________ ____ _________ _______ _________ ________ ______ ________.
____ _______ ______ ______ _____ _________ _________ ___.
_______ _______ _____ ____ ______ _____ ______.
_____ ______ __________ _______ _____ _________ ____ ________ ___ ____.
________ _____ _____ ___ ___ ________ ____ _____.
IGNOU ACADEMY
Your IGNOU journey, made easier.
  • Solved Assignments
  • Study Notes
  • Guess Papers
  • Question Papers
Skip in 10
Top
📞
Call Support Instant phone assistance IGNOU BCS 31 2016 - Explain the importance of a constructor in object-oriented programming | IGNOU Academy
→
🟢
WhatsApp Chat Fast live messaging
→
Email Us Business enquiries & support
→