When an object is instantiated, the constructor gets called ? How is this internally implemented ? Who Calls the Constructor ? Is it the OS ?
kneiel 0 Newbie Poster
Recommended Answers
Jump to PostThe compiler adds code to the program to call the constructor.
[edit]^^^ What Jerry said too. [/edit]
All 4 Replies
jerryjerry 0 Newbie Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Alesair 0 Newbie Poster
kneiel 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.