Can anyone explain why should we use new Or when to use new and when to use virtual ,
any real life example
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Menaka DeviRank #6,212 · 273 reputationPosted May 23, 2017, 12:53 AM EDT
nikhil kapoorRank #5,917 · 282 reputationPosted May 23, 2017, 1:03 AM EDT
but sry being a noob i have another question
i am baiscally clear with thier fundamental but the question is
When to use new and when to use virtual , if u can explain with any requierment :)
nikhil kapoorRank #5,917 · 282 reputationPosted May 23, 2017, 1:05 AM EDT
Ramesh PalanivelRank #372 · 6.8K reputationPosted May 23, 2017, 1:31 AM EDT
Menaka DeviRank #6,212 · 273 reputationPosted May 23, 2017, 2:13 AM EDT